From 0dfb8cd786d48195352e3bf3147e8e94a64f4b8f Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 23 Aug 2003 06:24:00 +0000 Subject: Add support for 16K and 32K page sizes. The valid and dirty maps in struct vm_page are defined as u_int for 16K pages and u_long for 32K pages, with the implied assumption that long will at least be 64 bits wide on platforms where we support 32K pages. --- sys/vm/vm_page.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/vm/vm_page.h') diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index c750813..40ff714 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -133,6 +133,12 @@ struct vm_page { #elif PAGE_SIZE == 8192 u_short valid; /* map of valid DEV_BSIZE chunks */ u_short dirty; /* map of dirty DEV_BSIZE chunks */ +#elif PAGE_SIZE == 16384 + u_int valid; /* map of valid DEV_BSIZE chunks */ + u_int dirty; /* map of dirty DEV_BSIZE chunks */ +#elif PAGE_SIZE == 32768 + u_long valid; /* map of valid DEV_BSIZE chunks */ + u_long dirty; /* map of dirty DEV_BSIZE chunks */ #endif u_int cow; /* page cow mapping count */ }; -- cgit v1.1