Changeset 294 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc
- Timestamp:
- Mar 4, 2012, 1:35:10 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc
r291 r294 1 1 ; Project name : XTIDE Universal BIOS 2 2 ; Description : Equates and structs used in Boot Menu. 3 3 4 %ifndef BOOTMENU_INC 4 5 %define BOOTMENU_INC … … 19 20 20 21 ; Boot Menu Information Table. These are generated for all XTIDE Universal 21 ; BIOS drives. Available only until boot is successful l.22 ; BIOS drives. Available only until boot is successful. 22 23 MAX_HARD_DISK_NAME_LENGTH EQU 30 ; Bytes reserved for drive name 23 24 … … 30 31 DPT_BOOTMENUINFO_SIZE_MULTIPLIER equ BOOTMENUINFO_size / LARGEST_DPT_SIZE 31 32 32 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 33 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 33 34 34 %if MAX_HARD_DISK_NAME_LENGTH % 2 <> 0 35 %error "MAX_HARD_DISK_NAME_LENGTH needs to be a multiple of 2, memory is moved with word operations."35 %if MAX_HARD_DISK_NAME_LENGTH % 2 <> 0 36 %error "MAX_HARD_DISK_NAME_LENGTH needs to be a multiple of 2, memory is moved with word operations." 36 37 %endif 37 38 38 39 %if BOOTMENUINFO_size % LARGEST_DPT_SIZE <> 0 39 %error "BOOTMENUINFO's size must be an even multiple of DPT's size. Add or remove padding at the bottom of BOOTMENUINFO to bring the two sizes into alignment. As BOOTMENUINFO is only used at boot time, with plenty of memory to consume, it is OK to waste some space here."40 %error "BOOTMENUINFO's size must be an even multiple of DPT's size. Add or remove padding at the bottom of BOOTMENUINFO to bring the two sizes into alignment. As BOOTMENUINFO is only used at boot time, with plenty of memory to consume, it is OK to waste some space here." 40 41 %endif 41 42 42 43 %if BOOTMENUINFO.szDrvName <> 0 43 %error "BOOTMENUINFO.szDrvName is assumed to be the first member of struc BOOTMENUINFO, in BootMenuPrint_RefreshItem"44 %error "BOOTMENUINFO.szDrvName is assumed to be the first member of struc BOOTMENUINFO, in BootMenuPrint_RefreshItem" 44 45 %endif 45 46
Note:
See TracChangeset
for help on using the changeset viewer.