[prev in list] [next in list] [prev in thread] [next in thread]
List: bochs-cvs
Subject: [Bochs-cvs] CVS: bochs bochs.h,1.247,1.248 config.cc,1.175,1.176
From: "Volker Ruppert" <vruppert () users ! sourceforge ! net>
Date: 2009-04-26 6:56:30
Message-ID: E1LxyHu-0006cR-0y () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/bochs/bochs
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25429
Modified Files:
bochs.h config.cc
Log Message:
- converted port 0xE9 hack option to a regular config parameter
Index: bochs.h
===================================================================
RCS file: /cvsroot/bochs/bochs/bochs.h,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- bochs.h 25 Apr 2009 08:06:32 -0000 1.247
+++ bochs.h 26 Apr 2009 06:56:27 -0000 1.248
@@ -435,7 +435,6 @@
bx_bool exceptions;
bx_bool debugger;
bx_bool print_timestamps;
- bx_bool port_e9_hack;
#if BX_DEBUGGER
bx_bool magic_break_enabled;
#endif
Index: config.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/config.cc,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- config.cc 23 Apr 2009 18:28:16 -0000 1.175
+++ config.cc 26 Apr 2009 06:56:27 -0000 1.176
@@ -1554,12 +1554,20 @@
misc->set_options(misc->SHOW_PARENT);
bx_param_num_c *gdbstub_opt;
+ // port e9 hack
+ new bx_param_bool_c(misc,
+ "port_e9_hack",
+ "Enable port 0xE9 hack",
+ "Debug messages written to i/o port 0xE9 will be displayed on console",
+ 0);
+
// text snapshot check panic
new bx_param_bool_c(misc,
"text_snapshot_check",
"Enable text snapshot check panic",
"Enable panic when text on screen matches snapchk.txt.\nUseful for regression \
testing.\nIn win32, turns off CR/LF in snapshots and cuts.", 0);
+
// GDB stub
menu = new bx_list_c(misc, "gdbstub", "GDB Stub Options");
menu->set_options(menu->SHOW_PARENT | menu->USE_BOX_TITLE);
@@ -2971,7 +2979,7 @@
PARSE_ERR(("%s: port_e9_hack directive malformed.", context));
}
if (params[1][8] == '0' || params[1][8] == '1') {
- bx_dbg.port_e9_hack = params[1][8] - '0';
+ SIM->get_param_bool(BXPN_PORT_E9_HACK)->set(atoi(¶ms[1][8]));
}
else {
PARSE_ERR(("%s: port_e9_hack directive malformed.", context));
@@ -3627,10 +3635,10 @@
#endif
fprintf(fp, "\n");
fprintf(fp, "print_timestamps: enabled=%d\n", bx_dbg.print_timestamps);
- fprintf(fp, "port_e9_hack: enabled=%d\n", bx_dbg.port_e9_hack);
#if BX_DEBUGGER
fprintf(fp, "magic_break: enabled=%d\n", bx_dbg.magic_break_enabled);
#endif
+ fprintf(fp, "port_e9_hack: enabled=%d\n", \
SIM->get_param_bool(BXPN_PORT_E9_HACK)->get()); fprintf(fp, "text_snapshot_check: \
enabled=%d\n", SIM->get_param_bool(BXPN_TEXT_SNAPSHOT_CHECK)->get()); fprintf(fp, \
"private_colormap: enabled=%d\n", SIM->get_param_bool(BXPN_PRIVATE_COLORMAP)->get()); \
#if BX_WITH_AMIGAOS
------------------------------------------------------------------------------
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