diff options
author | grehan <grehan@FreeBSD.org> | 2004-02-11 07:27:34 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2004-02-11 07:27:34 +0000 |
commit | cf91052361590ecb2b4c952b3722b496516f4287 (patch) | |
tree | e4823e473382c2aa93ccc87ad7c5a76631560c39 /sys/powerpc/include/pmap.h | |
parent | 2f334f4f85ed68c71028b7ae416fec6a71dd2f3c (diff) | |
download | FreeBSD-src-cf91052361590ecb2b4c952b3722b496516f4287.zip FreeBSD-src-cf91052361590ecb2b4c952b3722b496516f4287.tar.gz |
Cleaned up param.h:
- culled long-dead #define's
- segment register defs moved to sr.h
- NPMAPS moved to pmap.h
- KERNBASE moved to vmparam.h
- removed include of <machine/cpu.h> and fixed src files that
relied on this.
Modifying segment register code no longer causes gcc rebuilds :-)
Diffstat (limited to 'sys/powerpc/include/pmap.h')
-rw-r--r-- | sys/powerpc/include/pmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h index 98f354d..73f11b3 100644 --- a/sys/powerpc/include/pmap.h +++ b/sys/powerpc/include/pmap.h @@ -37,6 +37,10 @@ #include <machine/sr.h> +#if !defined(NPMAPS) +#define NPMAPS 32768 +#endif /* !defined(NPMAPS) */ + struct pmap { u_int pm_sr[16]; u_int pm_active; |