4 /* Here are some macros used to build trap table in core file. */
6 #define TRAP_NAME2(nr) nr##_trap(void)
7 #define TRAP_NAME(nr) TRAP_NAME2(TRAP##nr)
9 #define BUILD_TRAP(nr) void TRAP_NAME(nr);
11 void set_intr_gate(unsigned int n
, void *addr
);
12 void set_system_gate(unsigned int n
, void *addr
);
14 void Init_Traps(struct PlatformData
*data
);