[prev in list] [next in list] [prev in thread] [next in thread]
List: bochs-cvs
Subject: [Bochs-cvs] CVS: bochs/iodev unmapped.cc, 1.35, 1.36 unmapped.h,
From: "Volker Ruppert" <vruppert () users ! sourceforge ! net>
Date: 2009-04-26 6:56:30
Message-ID: E1LxyHu-0006cc-3B () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/bochs/bochs/iodev
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25429/iodev
Modified Files:
unmapped.cc unmapped.h
Log Message:
- converted port 0xE9 hack option to a regular config parameter
Index: unmapped.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/unmapped.cc,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- unmapped.cc 24 Apr 2009 14:57:25 -0000 1.35
+++ unmapped.cc 26 Apr 2009 06:56:28 -0000 1.36
@@ -67,6 +67,7 @@
s.port80 = 0x00;
s.port8e = 0x00;
s.shutdown = 0;
+ s.port_e9_hack = SIM->get_param_bool(BXPN_PORT_E9_HACK)->get();
}
// static IO port read callback handler
@@ -109,7 +110,7 @@
// port 0x80, then read from 0xe9, if value is 0xe9, debug
// output is available) (see write() for that) -- Andreas and Emmanuel
case 0xe9:
- if (bx_dbg.port_e9_hack) {
+ if (BX_UM_THIS s.port_e9_hack) {
retval = 0xe9;
}
else {
@@ -212,7 +213,7 @@
// Idea by Andreas Beck (andreas.beck@ggi-project.org)
case 0xe9:
- if (bx_dbg.port_e9_hack) {
+ if (BX_UM_THIS s.port_e9_hack) {
putchar(value);
fflush(stdout);
}
Index: unmapped.h
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/unmapped.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- unmapped.h 8 Feb 2009 09:05:52 -0000 1.15
+++ unmapped.h 26 Apr 2009 06:56:28 -0000 1.16
@@ -55,6 +55,7 @@
Bit8u port80;
Bit8u port8e;
Bit8u shutdown;
+ bx_bool port_e9_hack;
} s; // state information
};
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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