Indentation fix, cleanup.
[AROS.git] / arch / i386-pc / kernel / traps.h
blob52680659cf916fd69f6c57d504ec89cb6a800019
1 #ifndef _TRAPS_H
2 #define _TRAPS_H
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);
16 #endif /* _TRAPS_H */