From e06fcd754eb630e16c4fef62e2f899402d06cc4a Mon Sep 17 00:00:00 2001 From: aurel32 Date: Thu, 11 Dec 2008 22:42:14 +0000 Subject: target-ppc: rework exception code ... also remove two warnings. Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5989 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/helper.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'target-ppc/helper.c') 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 @@ -39,24 +39,6 @@ //#define DEBUG_EXCEPTIONS //#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 */ -- cgit v1.2.3