projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4487bad
)
MEMDISK: ebios/noebios as synonyms to edd/noedd
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 31 Jan 2007 01:58:38 +0000
(17:58 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 31 Jan 2007 01:58:38 +0000
(17:58 -0800)
memdisk/setup.c
patch
|
blob
|
history
diff --git
a/memdisk/setup.c
b/memdisk/setup.c
index
70dc1d6
..
96e87b0
100644
(file)
--- a/
memdisk/setup.c
+++ b/
memdisk/setup.c
@@
-582,9
+582,11
@@
void setup(syscall_t cs_syscall, void *cs_bounce)
geometry = get_disk_image_geometry(ramdisk_image, ramdisk_size);
- if (getcmditem("edd") != CMD_NOTFOUND)
+ if (getcmditem("edd") != CMD_NOTFOUND ||
+ getcmditem("ebios") != CMD_NOTFOUND)
do_edd = 1;
- else if (getcmditem("noedd") != CMD_NOTFOUND)
+ else if (getcmditem("noedd") != CMD_NOTFOUND ||
+ getcmditem("noebios") != CMD_NOTFOUND)
do_edd = 0;
else
do_edd = (geometry->driveno & 0x80) ? 1 : 0;