WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [TESTS] Fix native jump to 1MB absolute a

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [TESTS] Fix native jump to 1MB absolute address in emulator test.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Jan 2007 11:40:42 -0800
Delivery-date: Sun, 14 Jan 2007 11:50:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxxx
# Date 1168724191 0
# Node ID e079f1ff6744bbaab19bf3d045efd811144d0403
# Parent  a8f62eb194e3e1cbbcfcb59ed5abd32b73b0e33e
[TESTS] Fix native jump to 1MB absolute address in emulator test.
Fix typo in emulator comment.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/tests/test_x86_emulator.c |    2 +-
 xen/arch/x86/x86_emulate.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r a8f62eb194e3 -r e079f1ff6744 tools/tests/test_x86_emulator.c
--- a/tools/tests/test_x86_emulator.c   Sat Jan 13 20:55:39 2007 +0000
+++ b/tools/tests/test_x86_emulator.c   Sat Jan 13 21:36:31 2007 +0000
@@ -511,7 +511,7 @@ int main(int argc, char **argv)
 #ifndef __x86_64__
     printf("%-40s", "Testing blowfish native execution...");    
     asm volatile (
-        "call 0x100000"
+        "movl $0x100000,%%ecx; call *%%ecx"
         : "=a" (regs.eax), "=d" (regs.edx)
         : "0" (2), "1" (1) : "ecx" );
     if ( (regs.eax != 2) || (regs.edx != 1) )
diff -r a8f62eb194e3 -r e079f1ff6744 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Sat Jan 13 20:55:39 2007 +0000
+++ b/xen/arch/x86/x86_emulate.c        Sat Jan 13 21:36:31 2007 +0000
@@ -853,7 +853,7 @@ x86_emulate(
         {
             /*
              * EA       += BitOffset DIV op_bytes*8
-             * BitOffset = BitOffset MOD op_byte*8
+             * BitOffset = BitOffset MOD op_bytes*8
              * DIV truncates towards negative infinity.
              * MOD always produces a positive result.
              */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [TESTS] Fix native jump to 1MB absolute address in emulator test., Xen patchbot-unstable <=