From 6d129d771cde384f5f9923cd40386b2fbf610917 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Wed, 19 Sep 2001 17:29:07 +0000 Subject: [PATCH] - set a bit in the CMOS that says the processor has an FPU. This is from patch [ #455006 ] Device byte is not initialized aptly. I can't give credit, because he or she did not leave a name. --- bochs/iodev/cmos.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bochs/iodev/cmos.cc b/bochs/iodev/cmos.cc index 09e556187..c0fde0ee8 100644 --- a/bochs/iodev/cmos.cc +++ b/bochs/iodev/cmos.cc @@ -58,7 +58,7 @@ bx_cmos_c::~bx_cmos_c(void) bx_cmos_c::init(bx_devices_c *d) { unsigned i; - BX_DEBUG(("Init $Id: cmos.cc,v 1.12 2001-06-27 20:11:10 fries Exp $")); + BX_DEBUG(("Init $Id: cmos.cc,v 1.13 2001-09-19 17:29:07 bdenney Exp $")); // CMOS RAM & RTC @@ -151,6 +151,9 @@ bx_cmos_c::init(bx_devices_c *d) BX_CMOS_THIS s.reg[0x0b] = 0x02; BX_CMOS_THIS s.reg[0x0c] = 0x00; BX_CMOS_THIS s.reg[0x0d] = 0x80; +#if BX_SUPPORT_FPU == 1 + BX_CMOS_THIS s.reg[0x14] = 0x02; +#endif } }