projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e94df
)
set correct CS seg limit and flags on sipi
author
Gleb Natapov
<gleb@redhat.com>
Sun, 13 Sep 2009 08:19:51 +0000
(11:19 +0300)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:53 +0000
(09:32 -0500)
TCG works with incorrect values somehow.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/apic.c
patch
|
blob
|
history
diff --git
a/hw/apic.c
b/hw/apic.c
index
2c414c1
..
c89008e
100644
(file)
--- a/
hw/apic.c
+++ b/
hw/apic.c
@@
-516,7
+516,7
@@
void apic_sipi(CPUState *env)
env->eip = 0;
cpu_x86_load_seg_cache(env, R_CS, s->sipi_vector << 8, s->sipi_vector << 12,
-
0xffff, 0
);
+
env->segs[R_CS].limit, env->segs[R_CS].flags
);
env->halted = 0;
s->wait_for_sipi = 0;
}