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

List:       bochs-cvs
Subject:    [Bochs-cvs] [11768] trunk/bochs
From:       sshwarts () users ! sourceforge ! net
Date:       2013-08-05 15:33:42
Message-ID: E1V6Mn3-0000SR-5v () sfs-ml-4 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 11768
Author:   sshwarts
Date:     2013-08-05 15:33:41 +0000 (Mon, 05 Aug 2013)
Log Message:
-----------
bug fixes

Modified Paths:
--------------
    trunk/bochs/bx_debug/dbg_main.cc
    trunk/bochs/cpu/arith32.cc

Modified: trunk/bochs/bx_debug/dbg_main.cc
===================================================================
--- trunk/bochs/bx_debug/dbg_main.cc	2013-08-04 19:47:19 UTC (rev 11767)
+++ trunk/bochs/bx_debug/dbg_main.cc	2013-08-05 15:33:41 UTC (rev 11768)
@@ -638,11 +638,9 @@
   if (! BX_CPU(cpu)->trace_mem)
     return;
 
-  bx_bool write = rw & 1;
-
   dbg_printf("[CPU%d %s]: LIN 0x" FMT_ADDRX " PHY 0x" FMT_PHY_ADDRX " (len=%d, pl=%d)",
      cpu, 
-     (write) ? "WR" : "RD",
+     (rw == BX_WRITE) ? "WR" : "RD",
      lin, phy,
      len, pl);
 
@@ -729,11 +727,9 @@
     "SMRAM"
   };
 
-  bx_bool write = rw & 1;
-
   dbg_printf("[CPU%d %s]: PHY 0x" FMT_PHY_ADDRX " (len=%d)",
      cpu, 
-     (write) ? "WR" : "RD",
+     (rw == BX_WRITE) ? "WR" : "RD",
      phy,
      len);
 

Modified: trunk/bochs/cpu/arith32.cc
===================================================================
--- trunk/bochs/cpu/arith32.cc	2013-08-04 19:47:19 UTC (rev 11767)
+++ trunk/bochs/cpu/arith32.cc	2013-08-05 15:33:41 UTC (rev 11768)
@@ -571,7 +571,7 @@
   }
   else {
     // accumulator <-- dest
-    write_RMW_virtual_qword(op1_32);
+    write_RMW_virtual_dword(op1_32);
     RAX = op1_32;
   }
 


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
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