diff options
author | avg <avg@FreeBSD.org> | 2013-07-28 18:32:27 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2013-07-28 18:32:27 +0000 |
commit | ea04b46439a6200a93c2e7792bb488de8ad3c05a (patch) | |
tree | 2b655d8ec95c44c4e2b7306d22d416c79486c73c /sys/mips/include | |
parent | 425573ccba3b555a3407c9958714a764b5e7b609 (diff) | |
download | FreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.zip FreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.tar.gz |
put contents of cpu.h under _KERNEL
no userland-serviceable parts inside
MFC after: 20 days
Diffstat (limited to 'sys/mips/include')
-rw-r--r-- | sys/mips/include/cpu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/mips/include/cpu.h b/sys/mips/include/cpu.h index 2691cf2..ff5117a 100644 --- a/sys/mips/include/cpu.h +++ b/sys/mips/include/cpu.h @@ -49,6 +49,8 @@ #include <machine/endian.h> +#if defined(_KERNEL) + /* BEGIN: these are going away */ #define soft_int_mask(softintr) (1 << ((softintr) + 8)) @@ -74,9 +76,7 @@ * A machine-independent interface to the CPU's counter. */ #define get_cyclecount() mips_rd_count() -#endif /* !_LOCORE */ -#if defined(_KERNEL) && !defined(_LOCORE) extern char btext[]; extern char etext[]; @@ -85,5 +85,6 @@ void swi_vm(void *); void cpu_halt(void); void cpu_reset(void); +#endif /* !_LOCORE */ #endif /* _KERNEL */ #endif /* !_MACHINE_CPU_H_ */ |