[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 19a2223] set correct CS seg limit and flags on si
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 19a2223] set correct CS seg limit and flags on sipi |
Date: |
Mon, 05 Oct 2009 14:53:35 -0000 |
From: Gleb Natapov <address@hidden>
TCG works with incorrect values somehow.
Signed-off-by: Gleb Natapov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/hw/apic.c b/hw/apic.c
index 2c414c1..c89008e 100644
--- 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 19a2223] set correct CS seg limit and flags on sipi,
Anthony Liguori <=