diff options
author | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-13 21:36:31 +0000 |
---|---|---|
committer | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-13 21:36:31 +0000 |
commit | ab5c6b8f111c738c8c1402a7dd46a5a612938b2b (patch) | |
tree | 1ce42fabde4e0c2e9729ef4e6bac6cf729a9b588 /tools/tests | |
parent | 113bac300760d079167411dd84a726431842c3d3 (diff) | |
download | xen-ab5c6b8f111c738c8c1402a7dd46a5a612938b2b.tar.gz xen-ab5c6b8f111c738c8c1402a7dd46a5a612938b2b.tar.bz2 xen-ab5c6b8f111c738c8c1402a7dd46a5a612938b2b.zip |
[TESTS] Fix native jump to 1MB absolute address in emulator test.
Fix typo in emulator comment.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/tests')
-rw-r--r-- | tools/tests/test_x86_emulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tests/test_x86_emulator.c b/tools/tests/test_x86_emulator.c index b1c39d370a..a59bc467e2 100644 --- a/tools/tests/test_x86_emulator.c +++ b/tools/tests/test_x86_emulator.c @@ -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) ) |