From 109432efbb357fcea3727a054be421fd92506609 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 13 Apr 2008 16:59:49 -0400 Subject: Fix typo causing fdpt1 from structure from being populated. Also, remove redundant call to init_boot_vectors(). --- src/post.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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) { -- cgit v1.1