]> xenbits.xensource.com Git - seabios.git/commitdiff
Add missing mathcp_setup() call to CSM code.
authorKevin O'Connor <kevin@koconnor.net>
Mon, 22 Jul 2013 00:01:07 +0000 (20:01 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 22 Jul 2013 00:03:57 +0000 (20:03 -0400)
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@koconnor.net>
src/csm.c

index e855d2c2eb96c1cdfb6076436ec96b9a0006da0b..202170183176eed9c42a7eaffd3c4898749d0395 100644 (file)
--- 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();