diff --git a/bochs/iodev/pci.cc b/bochs/iodev/pci.cc index 8775c1e87..72e22eedb 100644 --- a/bochs/iodev/pci.cc +++ b/bochs/iodev/pci.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: pci.cc,v 1.35 2004-07-11 20:38:48 vruppert Exp $ +// $Id: pci.cc,v 1.36 2004-07-12 18:16:16 vruppert Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. @@ -327,6 +327,8 @@ bx_pci_c::pci_write(Bit8u address, Bit32u value, unsigned io_len) Bit8u value8; + if ((address >= 0x10) && (address < 0x34)) + return; if (io_len <= 4) { for (unsigned i=0; i> (i*8)) & 0xFF; diff --git a/bochs/iodev/pci2isa.cc b/bochs/iodev/pci2isa.cc index 85ff09e93..2b64342c3 100644 --- a/bochs/iodev/pci2isa.cc +++ b/bochs/iodev/pci2isa.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: pci2isa.cc,v 1.18 2004-07-08 18:45:03 vruppert Exp $ +// $Id: pci2isa.cc,v 1.19 2004-07-12 18:16:16 vruppert Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. @@ -361,6 +361,8 @@ bx_pci2isa_c::pci_write(Bit8u address, Bit32u value, unsigned io_len) Bit8u value8; + if ((address >= 0x10) && (address < 0x34)) + return; if (io_len <= 4) { for (unsigned i=0; i> (i*8)) & 0xFF;