PMAX_BOOT_BLOCK_BLOCKSIZE
assert(sizeof(struct pmax_boot_block) == PMAX_BOOT_BLOCK_BLOCKSIZE);
assert(sizeof(struct pmax_boot_block) == PMAX_BOOT_BLOCK_BLOCKSIZE);
PMAX_BOOT_BLOCK_BLOCKSIZE);
startblock = PMAX_BOOT_BLOCK_OFFSET / PMAX_BOOT_BLOCK_BLOCKSIZE
htole32(howmany(bootstrapsize, PMAX_BOOT_BLOCK_BLOCKSIZE));
startblock * PMAX_BOOT_BLOCK_BLOCKSIZE);
*len = roundup(highaddr - lowaddr, PMAX_BOOT_BLOCK_BLOCKSIZE);