1 /* $NetBSD: trap.h,v 1.1 2018/07/28 20:26:13 reinoud Exp $ */ 2 3 /* 4 * Handcrafted redirect to prevent problems with i386 and x86_64 sharing x86 5 */ 6 #ifndef _USERMODE_TRAP_H 7 #define _USERMODE_TRAP_H 8 9 #if defined(__i386__) 10 #include "../../x86/include/trap.h" 11 #elif defined(__x86_64__) 12 #include "../../x86/include/trap.h" 13 #elif defined(__arm__) 14 #include "../../arm/include/trap.h" 15 #else 16 #error port me 17 #endif 18 19 #endif 20