aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-15 23:06:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-15 23:06:19 +0000
commit3cc6237083cd40247e060c1fcf403a2d9ccbaf92 (patch)
treeffae14fb7d2721bb246cb21a44718f39b4ca6fcf /target-ppc/helper.c
parentc4decf377c314c48795ddd3ead1ce3d2ea981ca0 (diff)
ppc fixes (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1297 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r--target-ppc/helper.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 21e89008f4..a9424dfa70 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -18,10 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "exec.h"
-#if defined (USE_OPEN_FIRMWARE)
-#include <time.h>
-#include "of.h"
-#endif
//#define DEBUG_MMU
//#define DEBUG_BATS
@@ -688,18 +684,6 @@ void do_interrupt (CPUState *env)
}
/* Generate informations in save/restore registers */
switch (excp) {
- case EXCP_OFCALL:
-#if defined (USE_OPEN_FIRMWARE)
- env->gpr[3] = OF_client_entry((void *)env->gpr[3]);
-#endif
- return;
- case EXCP_RTASCALL:
-#if defined (USE_OPEN_FIRMWARE)
- printf("RTAS call !\n");
- env->gpr[3] = RTAS_entry((void *)env->gpr[3]);
- printf("RTAS call done\n");
-#endif
- return;
case EXCP_NONE:
/* Do nothing */
#if defined (DEBUG_EXCEPTIONS)