diff options
author | alc <alc@FreeBSD.org> | 2009-09-18 17:04:57 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2009-09-18 17:04:57 +0000 |
commit | 309c5ab06fe539d4f571d4c3b2acb779c5138fbf (patch) | |
tree | 7d24849cdaea55926149a790b882fea6f17045ab /sys/powerpc | |
parent | 87c8593067033119e40d28b40a47c236b8a5f7ac (diff) | |
download | FreeBSD-src-309c5ab06fe539d4f571d4c3b2acb779c5138fbf.zip FreeBSD-src-309c5ab06fe539d4f571d4c3b2acb779c5138fbf.tar.gz |
Add a new sysctl for reporting all of the supported page sizes.
Reviewed by: jhb
MFC after: 3 weeks
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h index 160cd78..6c3edf9 100644 --- a/sys/powerpc/include/param.h +++ b/sys/powerpc/include/param.h @@ -86,6 +86,8 @@ #define PAGE_MASK (PAGE_SIZE - 1) #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) +#define MAXPAGESIZES 1 /* maximum number of supported page sizes */ + #ifndef KSTACK_PAGES #define KSTACK_PAGES 4 /* includes pcb */ #endif |