/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#define NARGS 12
/* Size to reserve in frame for arguments - first 8 are in registers */
#define ARG_SIZE FM_ALIGN((NARGS-8)*4)
-
+#define MUNGE_ARGS_SIZE FM_ALIGN(8*8)
/*
* Hardware exception vectors for powerpc are in exception.h
extern void doexception(int exc, int code, int sub);
-extern void thread_exception_return(void);
-
extern struct savearea* trap(int trapno,
struct savearea *ss,
unsigned int dsisr,
- unsigned int dar);
+ addr64_t dar);
-typedef kern_return_t (*perfTrap)(int trapno, struct savearea *ss,
- unsigned int dsisr, unsigned int dar);
+typedef kern_return_t (*perfCallback)(int trapno, struct savearea *ss,
+ unsigned int dsisr, addr64_t dar);
-extern perfTrap perfTrapHook;
+extern perfCallback perfTrapHook;
+extern perfCallback perfASTHook;
+extern perfCallback perfIntHook;
extern struct savearea* interrupt(int intno,
struct savearea *ss,