[prev in list] [next in list] [prev in thread] [next in thread]
List: bochs-cvs
Subject: [Bochs-cvs] CVS: bochs bochs.h,1.218,1.219 pc_system.h,1.42,1.43
From: Stanislav Shwartsman <sshwarts () users ! sourceforge ! net>
Date: 2007-12-26 18:39:17
Message-ID: E1J7b9x-0004aF-IW () sc8-pr-cvs3 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/bochs/bochs
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17216
Modified Files:
bochs.h pc_system.h
Log Message:
Fixed more VCPP2008 warnings
Index: bochs.h
===================================================================
RCS file: /cvsroot/bochs/bochs/bochs.h,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -d -r1.218 -r1.219
--- bochs.h 20 Dec 2007 18:32:14 -0000 1.218
+++ bochs.h 26 Dec 2007 18:39:15 -0000 1.219
@@ -193,9 +193,9 @@
#define BX_GET_ENABLE_A20() bx_pc_system.get_enable_a20()
#if BX_SUPPORT_A20
-# define A20ADDR(x) ((x) & bx_pc_system.a20_mask)
+# define A20ADDR(x) ((bx_phy_address)(x) & bx_pc_system.a20_mask)
#else
-# define A20ADDR(x) (x)
+# define A20ADDR(x) ((bx_phy_address)(x))
#endif
#if BX_SUPPORT_SMP
Index: pc_system.h
===================================================================
RCS file: /cvsroot/bochs/bochs/pc_system.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- pc_system.h 1 Nov 2007 18:03:48 -0000 1.42
+++ pc_system.h 26 Dec 2007 18:39:15 -0000 1.43
@@ -156,7 +156,7 @@
// when A20 line is disabled, mask physical memory addresses to:
// 286: 20 bits
// 386: 20 bits
- Bit32u a20_mask;
+ bx_phy_address a20_mask;
volatile bx_bool kill_bochs_request;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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