aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-04-13 16:59:49 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-04-13 16:59:49 -0400
commit109432efbb357fcea3727a054be421fd92506609 (patch)
treeff0b362f4d924b450e29bd77f713828da710f7bb
parentba2d0df1dbb97a0b2598af3884e73ec4a68c895a (diff)
downloadseabios-hppa-109432efbb357fcea3727a054be421fd92506609.zip
seabios-hppa-109432efbb357fcea3727a054be421fd92506609.tar.gz
seabios-hppa-109432efbb357fcea3727a054be421fd92506609.tar.bz2
Fix typo causing fdpt1 from structure from being populated.
Also, remove redundant call to init_boot_vectors().
-rw-r--r--src/post.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/post.c b/src/post.c
index 4734991..bb69ed1 100644
--- a/src/post.c
+++ b/src/post.c
@@ -266,7 +266,7 @@ hard_drive_post()
if ((diskinfo & 0x0f) == 0x0f)
// XXX - bochs halts on any other type
// Fill EBDA table for hard disk 1.
- fill_hdinfo(&ebda->fdpt0, CMOS_DISK_DRIVE2_TYPE, CMOS_DISK_DRIVE2_CYL);
+ fill_hdinfo(&ebda->fdpt1, CMOS_DISK_DRIVE2_TYPE, CMOS_DISK_DRIVE2_CYL);
}
static void
@@ -373,8 +373,6 @@ post()
rombios32_init();
- init_boot_vectors();
-
floppy_drive_post();
hard_drive_post();
if (CONFIG_ATA) {