Commit 7496f5266c568ceef2d4a3a2d0af381cf1810e30
1 parent
91d848eb
cpu_single_env init
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@967 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
4 changed files
with
4 additions
and
2 deletions
target-arm/translate.c
target-i386/helper2.c
... | ... | @@ -75,9 +75,9 @@ CPUX86State *cpu_x86_init(void) |
75 | 75 | modify_ldt(1, &ldt, sizeof(ldt)); /* write ldt entry */ |
76 | 76 | |
77 | 77 | asm volatile ("movl %0, %%fs" : : "r" ((1 << 3) | 7)); |
78 | - cpu_single_env = env; | |
79 | 78 | } |
80 | 79 | #endif |
80 | + cpu_single_env = env; | |
81 | 81 | cpu_reset(env); |
82 | 82 | return env; |
83 | 83 | } | ... | ... |
target-ppc/translate.c