summary refs log tree commit diff stats
path: root/target-sparc/helper.c
diff options
context:
space:
mode:
authorFabien Chouteau <chouteau@adacore.com>2011-11-03 16:10:04 +0100
committerBlue Swirl <blauwirbel@gmail.com>2011-11-19 11:22:57 +0000
commit96d922a654f4b5a806af43d6dc6fa7c1becbbac6 (patch)
tree93da28bba54254011b814dbb611b232e4bb7be2a /target-sparc/helper.c
parent9643c25f8d67646857159d6fc021b07e7a659192 (diff)
downloadfocaccia-qemu-96d922a654f4b5a806af43d6dc6fa7c1becbbac6.tar.gz
focaccia-qemu-96d922a654f4b5a806af43d6dc6fa7c1becbbac6.zip
Improve "ta 0" shutdown
This patch replace the previous implementation with this simplified and
more complete version (no shutdown when psret == 1).

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r--target-sparc/helper.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index 18609c449c..037a72ce4e 100644
--- a/target-sparc/helper.c
+++ b/target-sparc/helper.c
@@ -34,13 +34,6 @@ void helper_debug(CPUState *env)
     cpu_loop_exit(env);
 }
 
-void helper_shutdown(void)
-{
-#if !defined(CONFIG_USER_ONLY)
-    qemu_system_shutdown_request();
-#endif
-}
-
 #ifdef TARGET_SPARC64
 target_ulong helper_popc(target_ulong val)
 {