FreeDOS/hdr/kconfig.h
Bart Oldeman 05df4d89f4 if user left accidentally floppy or CD in drive, give him a chance to continue to boot from HD.
disabled by default, enablable by SYS CONFIG (Tom Ehlert)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@591 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 14:38:13 +00:00

37 lines
1.1 KiB
C

/*
KConfig.h
DLASortByDriveNo
0 : Drive Letter Assignement ike MSDOS
1 : DLA - first drive completely first, then to next drive
InitDiskShowDriveAssignment
0 : don't show what drive/partition assigned to what drive letter
1 : show info
SkipConfigSeconds:
< 0 : not possible to skip config.sys
= 0 : only possible if already pressed before, no message
> 0 : wait so long for F5/F8
BootHarddiskSeconds: boots by default - and without user interaction - from HD
<= 0: normal
> 0:
display message
' hit any key to continue to boot from 'diskette or CD'
wait ## seconds
if no key hit, boot from HD
*/
typedef struct _KernelConfig {
char CONFIG[6]; /* "CONFIG" */
unsigned short ConfigSize;
unsigned char DLASortByDriveNo;
unsigned char InitDiskShowDriveAssignment;
signed char SkipConfigSeconds;
unsigned char ForceLBA;
unsigned char GlobalEnableLBAsupport; /* = 0 --> disable LBA support */
signed char BootHarddiskSeconds;
} KernelConfig;