diff options
Diffstat (limited to 'i386/i386/locore.h')
-rw-r--r-- | i386/i386/locore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/i386/i386/locore.h b/i386/i386/locore.h index ece8aafa..8683e641 100644 --- a/i386/i386/locore.h +++ b/i386/i386/locore.h @@ -19,10 +19,14 @@ #ifndef _MACHINE_LOCORE_H_ #define _MACHINE_LOCORE_H_ +#ifndef __ASSEMBLER__ + #include <sys/types.h> #include <kern/sched_prim.h> + + /* * Fault recovery in copyin/copyout routines. */ @@ -60,6 +64,8 @@ extern int syscall (void); extern unsigned int cpu_features[1]; +#endif // __ASSEMBLER__ + #define CPU_FEATURE_FPU 0 #define CPU_FEATURE_VME 1 #define CPU_FEATURE_DE 2 |