Changeset 254 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
- Timestamp:
- Feb 18, 2012, 2:51:54 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
r252 r254 8 8 BOOT_READ_RETRY_TIMES EQU 3 9 9 10 11 ; Boot Menu Information Table. These are generated for all XTIDE Universal12 ; BIOS drives. Available only until boot is successfull.13 LEN_BOOTNFO_DRV EQU 26 ; Bytes reserved for drive name14 struc BOOTNFO15 .szDrvName resb LEN_BOOTNFO_DRV ; Drive name16 resb 2 ; Zero word (ensures string terminates)17 resb 8 ; padding to make BOOTNFO size an even multiple of DPT size18 endstruc19 20 DPT_BOOTNFO_SIZE_MULTIPLIER equ BOOTNFO_size / LARGEST_DPT_SIZE21 22 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS23 24 %if BOOTNFO_size % LARGEST_DPT_SIZE <> 025 %error "BOOTNFO's size must be an even multiple of DPT's size. Add or remove padding at the bottom of BOOTNFO to bring the two sizes into alignment. As BOOTNFO is only used at boot time, with plenty of memory to consume, it is OK to waste some space here."26 %endif27 28 %if BOOTNFO.szDrvName <> 029 %error "BOOTNFO.szDrvName is assumed to be the first member of struc BOOTNFO, in BootMenuPrint_RefreshItem"30 %endif31 32 %endif33 10 34 11
Note:
See TracChangeset
for help on using the changeset viewer.