Wrap hardware trap types in ifdef _kernel.

This commit is contained in:
jake 2001-09-30 18:51:18 +00:00
parent 0faa0047f4
commit 539ccfaeb2

View File

@ -29,6 +29,8 @@
#ifndef _MACHINE_TRAP_H_
#define _MACHINE_TRAP_H_
#ifdef _KERNEL
#define T_RESERVED 0x0
#define T_POWER_ON 0x1
#define T_WATCHDOG 0x2
@ -70,6 +72,8 @@
extern const char *trap_msg[];
#endif
#endif
#define ST_BREAKPOINT 0x1
#define ST_SYSCALL 0x9