diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-08 18:39:29 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-08 18:39:29 +0000 |
commit | ddef8e1678e51d9a3eb5b10ba5b659dd0269e452 (patch) | |
tree | 84bfcc4522a1271f3b97cef5aa1ec9f1ffe27829 /tools/tests | |
parent | 58a6d83e7d8f4548005e9d4b7a42b05623d41b20 (diff) | |
download | xen-ddef8e1678e51d9a3eb5b10ba5b659dd0269e452.tar.gz xen-ddef8e1678e51d9a3eb5b10ba5b659dd0269e452.tar.bz2 xen-ddef8e1678e51d9a3eb5b10ba5b659dd0269e452.zip |
[XEN] Tweak x86 emulator interface.
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 ea8cf54f63..8bbfa3af28 100644 --- a/tools/tests/test_x86_emulator.c +++ b/tools/tests/test_x86_emulator.c @@ -102,7 +102,7 @@ int main(int argc, char **argv) int rc; ctxt.regs = ®s; - ctxt.mode = X86EMUL_MODE_PROT32; + ctxt.address_bytes = 4; res = mmap((void *)0x100000, 0x1000, PROT_READ|PROT_WRITE, MAP_FIXED|MAP_PRIVATE|MAP_ANONYMOUS, 0, 0); |