diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-11 22:42:14 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-11 22:42:14 +0000 |
commit | e06fcd754eb630e16c4fef62e2f899402d06cc4a (patch) | |
tree | 05dc321f66ec12b565616835a62f9a5dd77aed11 /target-ppc/helper.c | |
parent | 2a3ec4b5b316c34e805bb45ff9a36766c068eed6 (diff) |
target-ppc: rework exception code
... also remove two warnings.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5989 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 33e8b3ba5b..b299de7007 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -40,24 +40,6 @@ //#define FLUSH_ALL_TLBS /*****************************************************************************/ -/* Exceptions processing */ - -void raise_exception_err (CPUState *env, int exception, int error_code) -{ -#if 0 - printf("Raise exception %3x code : %d\n", exception, error_code); -#endif - env->exception_index = exception; - env->error_code = error_code; - cpu_loop_exit(); -} - -void raise_exception (CPUState *env, int exception) -{ - helper_raise_exception_err(exception, 0); -} - -/*****************************************************************************/ /* PowerPC MMU emulation */ #if defined(CONFIG_USER_ONLY) |