diff options
author | 2008-05-14 19:22:05 +0000 | |
---|---|---|
committer | 2008-05-14 19:22:05 +0000 | |
commit | 7d55170268abe2fedc96a662edff52bfe68763a6 (patch) | |
tree | f5b6989581e774abeeb0d81e9ed653b4abade6e1 /cpu-exec.c | |
parent | ETRAX: Add some kind of support for simulating 802.3 auto-negotiation. (diff) | |
download | qemu-kvm-7d55170268abe2fedc96a662edff52bfe68763a6.tar.gz qemu-kvm-7d55170268abe2fedc96a662edff52bfe68763a6.tar.bz2 qemu-kvm-7d55170268abe2fedc96a662edff52bfe68763a6.zip |
Fix compilation on Sparc host, implement ld and st
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4457 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 30caab15f..435fdf85d 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -53,19 +53,14 @@ static unsigned long next_tb; // Work around ugly bugs in glibc that mangle global register contents static volatile void *saved_env; -static volatile unsigned long saved_t0, saved_i7; #undef SAVE_GLOBALS #define SAVE_GLOBALS() do { \ saved_env = env; \ - saved_t0 = T0; \ - asm volatile ("st %%i7, [%0]" : : "r" (&saved_i7)); \ } while(0) #undef RESTORE_GLOBALS #define RESTORE_GLOBALS() do { \ env = (void *)saved_env; \ - T0 = saved_t0; \ - asm volatile ("ld [%0], %%i7" : : "r" (&saved_i7)); \ } while(0) static int sparc_setjmp(jmp_buf buf) |