[prev in list] [next in list] [prev in thread] [next in thread]
List: bochs-cvs
Subject: [Bochs-cvs] CVS: bochs/cpu segment_ctrl_pro.cc,1.117,1.118
From: "Stanislav Shwartsman" <sshwarts () users ! sourceforge ! net>
Date: 2009-08-30 5:03:06
Message-ID: E1MhcZH-0000mU-13 () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/bochs/bochs/cpu
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2981
Modified Files:
segment_ctrl_pro.cc
Log Message:
unreal mode fix
Index: segment_ctrl_pro.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/cpu/segment_ctrl_pro.cc,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- segment_ctrl_pro.cc 5 Aug 2009 14:47:33 -0000 1.117
+++ segment_ctrl_pro.cc 30 Aug 2009 05:03:04 -0000 1.118
@@ -187,11 +187,11 @@
seg->cache.u.segment.base = new_value << 4;
seg->cache.segment = 1; /* regular segment */
seg->cache.p = 1; /* present */
- seg->cache.type = BX_DATA_READ_WRITE_ACCESSED;
/* Do not modify segment limit and AR bytes when in real mode */
/* Support for big real mode */
if (!real_mode()) {
+ seg->cache.type = BX_DATA_READ_WRITE_ACCESSED;
seg->cache.dpl = 3; /* we are in v8086 mode */
seg->cache.u.segment.limit_scaled = 0xffff;
#if BX_CPU_LEVEL >= 3
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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