Emerson PME1 Network Router User Manual


 
Monitor: MPC860P-Specific Functions
PmT1 and PmE1 User’s Manual 10002367-02
8-34
typedef struct {
HANDLER handler;
HANDLERPARM parameter;
}HANDLERSTRUCT;
HANDLERSTRUCT ConnectHandler(unsigned long Vector,
HANDLER Handler)
ConnectHandler(Vector, Handler)
unsigned long Vector;
int (*Handler)();
DisConnectHandler(Vector)
unsigned long Vector;
probe(DirFlag, SizeFlag, Address, Data)
char DirFlag, SizeFlag;
unsigned long Address;
unsigned long Data;
Description: These functions are the MPC860P processor-specific functions that provide interrupt and
exception handling support.
The following table defines those exceptions which have interrupt vectors assigned to
them by the monitor. When connecting an interrupt handler to these exceptions, the spec-
ified vectors must be used.
Table 8-6: Assigned Exception Vectors
Vector: Cause of Exception:
0x02 Machine check
0x06 Alignment error
0x09 Decrementer interrupt
0x0c SYSCALL
0x10 Software emulation
0x11 Instruction TLB miss
0x12 Data TLB miss
0x13 Instruction TLB error
0x14 Data TLB error
0x20 Hardware interrupt level 0 (IRQ0*)
0x21 Software Interrupt level 0
0x22 Hardware interrupt level 1 (IRQ1*)
0x23 Software Interrupt level 1
0x24 Hardware interrupt level 2 (IRQ2*)
0x25 Software Interrupt level 2
0x26 Hardware interrupt level 3 (IRQ3*)