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