Changeset 363 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc
- Timestamp:
- Mar 26, 2012, 4:20:43 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc
r294 r363 24 24 25 25 struc BOOTMENUINFO 26 .szDrvName resb MAX_HARD_DISK_NAME_LENGTH 27 resb 2 ; Zero word (ensures string terminates) 28 resb 4 ; padding to make BOOTMENUINFO size an even multiple of DPT size 26 .szDrvName resb MAX_HARD_DISK_NAME_LENGTH 27 resb 2 ; Zero word (ensures string terminates) 28 .wInitErrorFlags resb 2 ; Errors during initialization 29 30 %ifdef MODULE_ADVANCED_ATA 31 .wIdeBasePort resb 2 ; IDE Base Port 32 .wMinPioActiveTimeNs resb 2 ; Minimum PIO Active Time in ns 33 .wMinPioRecoveryTimeNs resb 2 ; Minimum PIO Recovery Time in ns 34 .wControllerID resb 2 ; Controller specific ID WORD 35 .wControllerBasePort resb 2 ; Advanced Controller port (not IDE port) 36 resb 12 ; padding to make BOOTMENUINFO size an even multiple of DPT size 37 38 %else 39 resb 2 ; padding to make BOOTMENUINFO size an even multiple of DPT size 40 %endif 29 41 endstruc 42 43 ; Flags for BOOTMENUINFO.wInitErrorFlags 44 FLG_INIT_FAILED_TO_SELECT_DRIVE EQU (1<<0) 45 FLG_INIT_FAILED_TO_INITIALIZE_CHS_PARAMETERS EQU (1<<1) 46 FLG_INIT_FAILED_TO_SET_WRITE_CACHE EQU (1<<2) 47 FLG_INIT_FAILED_TO_RECALIBRATE_DRIVE EQU (1<<3) 48 FLG_INIT_FAILED_TO_SET_BLOCK_MODE EQU (1<<4) 49 FLG_INIT_FAILED_TO_SET_PIO_MODE EQU (1<<5) 30 50 31 51 DPT_BOOTMENUINFO_SIZE_MULTIPLIER equ BOOTMENUINFO_size / LARGEST_DPT_SIZE
Note:
See TracChangeset
for help on using the changeset viewer.