[SeaBIOS] [PATCH] The mathcp setup touches the PIC and thus move to the "setup" phase.

Kevin O'Connor kevin at koconnor.net
Sun Feb 10 06:55:55 CET 2013


Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 src/misc.c | 2 +-
 src/post.c | 2 +-
 src/util.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/misc.c b/src/misc.c
index 3b2ffc1..05d0cf5 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -63,7 +63,7 @@ handle_02(void)
 }
 
 void
-mathcp_init(void)
+mathcp_setup(void)
 {
     dprintf(3, "math cp init\n");
     // 80x87 coprocessor installed
diff --git a/src/post.c b/src/post.c
index 1dfbb21..3af3638 100644
--- a/src/post.c
+++ b/src/post.c
@@ -116,7 +116,6 @@ interface_init(void)
     bda_init();
 
     // Other interfaces
-    mathcp_init();
     boot_init();
     bios32_init();
     pmm_init();
@@ -157,6 +156,7 @@ platform_hardware_setup(void)
 
     // Init base pc hardware.
     pic_setup();
+    mathcp_setup();
     timer_setup();
 
     // Initialize pci
diff --git a/src/util.h b/src/util.h
index 04c5a9d..0659d24 100644
--- a/src/util.h
+++ b/src/util.h
@@ -449,7 +449,7 @@ u64 romfile_loadint(const char *name, u64 defval);
 void reset_vector(void) __noreturn;
 
 // misc.c
-void mathcp_init(void);
+void mathcp_setup(void);
 extern u32 RamSize;
 extern u64 RamSizeOver4G;
 extern u8 BiosChecksum;
-- 
1.7.11.7




More information about the SeaBIOS mailing list