[SeaBIOS] [PATCH] Add missing mathcp_setup() call to CSM code.

Kevin O'Connor kevin at koconnor.net
Mon Jul 22 02:04:36 CEST 2013


It looks like when mathcp_setup() got moved from interface_init() to
platform_hardware_setup() in 3a735baa the corresponding change was not
made to the CSM code.  Update it now.

Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 src/csm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/csm.c b/src/csm.c
index e855d2c..2021701 100644
--- a/src/csm.c
+++ b/src/csm.c
@@ -169,6 +169,7 @@ handle_csm_0002(struct bregs *regs)
     struct bios_data_area_s *bda = MAKE_FLATPTR(SEG_BDA, 0);
     bda->hdcount = 0;
 
+    mathcp_setup();
     timer_setup();
     clock_setup();
     device_hardware_setup();
-- 
1.7.11.7




More information about the SeaBIOS mailing list