summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2009-11-17 15:58:23 +0200
committerTiago Vignatti <tiago.vignatti@nokia.com>2009-11-19 18:45:13 +0200
commitb327015cf23ff3b3062bea09b6e08b5b00afb90e (patch)
treece0cd1def90088a26391d54f726cfd674b83923d
parentad873c1616c22268e88931a76680ba37ef066f34 (diff)
fix hlt opcode typo
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r--src/lrmi/backend-x86emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lrmi/backend-x86emu.c b/src/lrmi/backend-x86emu.c
index 3e2a7b0..cead7a7 100644
--- a/src/lrmi/backend-x86emu.c
+++ b/src/lrmi/backend-x86emu.c
@@ -210,7 +210,7 @@ int LRMI_init() {
X86_ESP = 0xFFF9;
memset (stack, 0, 64*1024);
- *((char *)0) = 0x4f; /* Make sure that we end up jumping back to a
+ *((char *)0) = 0xf4; /* Make sure that we end up jumping back to a
halt instruction */
M.mem_base = 0;