14 lines
451 B
Diff
14 lines
451 B
Diff
|
diff --git a/hw/misc/debugexit.c b/hw/misc/debugexit.c
|
||
|
index ab6de69ce7..b309a36e17 100644
|
||
|
--- a/hw/misc/debugexit.c
|
||
|
+++ b/hw/misc/debugexit.c
|
||
|
@@ -32,7 +32,7 @@ static uint64_t debug_exit_read(void *opaque, hwaddr addr, unsigned size)
|
||
|
static void debug_exit_write(void *opaque, hwaddr addr, uint64_t val,
|
||
|
unsigned width)
|
||
|
{
|
||
|
- exit((val << 1) | 1);
|
||
|
+ exit(val);
|
||
|
}
|
||
|
|
||
|
static const MemoryRegionOps debug_exit_ops = {
|