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