[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] CVS: bochs/iodev pci.cc,1.35,1.36 pci2isa.cc,1.18,1.19
From:       Volker Ruppert <vruppert () users ! sourceforge ! net>
Date:       2004-07-12 18:16:19
Message-ID: E1Bk5Lf-00036X-I9 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/bochs/bochs/iodev
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11899/iodev

Modified Files:
	pci.cc pci2isa.cc 
Log Message:
- pci core: write access to base address registers disabled


Index: pci.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/pci.cc,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- pci.cc	11 Jul 2004 20:38:48 -0000	1.35
+++ pci.cc	12 Jul 2004 18:16:16 -0000	1.36
@@ -327,6 +327,8 @@
 
   Bit8u value8;
 
+  if ((address >= 0x10) && (address < 0x34))
+    return;
   if (io_len <= 4) {
     for (unsigned i=0; i<io_len; i++) {
       value8 = (value >> (i*8)) & 0xFF;

Index: pci2isa.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/pci2isa.cc,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- pci2isa.cc	8 Jul 2004 18:45:03 -0000	1.18
+++ pci2isa.cc	12 Jul 2004 18:16:16 -0000	1.19
@@ -361,6 +361,8 @@
 
   Bit8u value8;
 
+  if ((address >= 0x10) && (address < 0x34))
+    return;
   if (io_len <= 4) {
     for (unsigned i=0; i<io_len; i++) {
       value8 = (value >> (i*8)) & 0xFF;



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic