Changeset View
Changeset View
Standalone View
Standalone View
head/sys/boot/i386/gptboot/gptldr.S
Show All 39 Lines | /* Memory Locations */ | ||||
.set MEM_BTX,0x9000 # BTX start | .set MEM_BTX,0x9000 # BTX start | ||||
.set MEM_JMP,0x9010 # BTX entry point | .set MEM_JMP,0x9010 # BTX entry point | ||||
.set MEM_USR,0xa000 # Client start | .set MEM_USR,0xa000 # Client start | ||||
.set BDA_BOOT,0x472 # Boot howto flag | .set BDA_BOOT,0x472 # Boot howto flag | ||||
/* Misc. Constants */ | /* Misc. Constants */ | ||||
.set SIZ_PAG,0x1000 # Page size | .set SIZ_PAG,0x1000 # Page size | ||||
.set SIZ_SEC,0x200 # Sector size | .set SIZ_SEC,0x200 # Sector size | ||||
.set COPY_BLKS,0x4 # Number of blocks | .set COPY_BLKS,0x8 # Number of blocks | ||||
# to copy for boot2 | # to copy for boot2 | ||||
.set COPY_BLK_SZ,0x8000 # Copy in 32k blocks; must be | .set COPY_BLK_SZ,0x8000 # Copy in 32k blocks; must be | ||||
# a multiple of 16 bytes | # a multiple of 16 bytes | ||||
.globl start | .globl start | ||||
.code16 | .code16 | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |