aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-05 17:01:51 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-05 17:01:51 +0000
commit5bfb56b264d18be57f16c519464fc1919db44372 (patch)
tree6ebf801cf88366386721708218b2c5d1e25ee113 /linux-user/main.c
parent65f9ee8d670e12a396857affb36920afd48f5e64 (diff)
Implement sparc64_[gs]et_context
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3334 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 9c3d67d497..127ae109a8 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -634,6 +634,14 @@ void cpu_loop (CPUSPARCState *env)
queue_signal(info.si_signo, &info);
}
break;
+ case 0x16e:
+ flush_windows(env);
+ sparc64_get_context(env);
+ break;
+ case 0x16f:
+ flush_windows(env);
+ sparc64_set_context(env);
+ break;
#endif
case EXCP_INTERRUPT:
/* just indicate that signals should be handled asap */