Module Name: src
Committed By: cegger
Date: Wed Apr 22 10:17:48 UTC 2009
Modified Files:
src/sys/arch/x86/include: pmap.h
Log Message:
change pmap flags argument from int to u_int.
forgot to commit this.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x86/include/pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.23 src/sys/arch/x86/include/pmap.h:1.24
--- src/sys/arch/x86/include/pmap.h:1.23 Sat Apr 18 08:51:45 2009
+++ src/sys/arch/x86/include/pmap.h Wed Apr 22 10:17:48 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.23 2009/04/18 08:51:45 cegger Exp $ */
+/* $NetBSD: pmap.h,v 1.24 2009/04/22 10:17:48 cegger Exp $ */
/*
*
@@ -178,7 +178,7 @@
/*
* MD flags that we use for pmap_enter:
*/
-#define PMAP_NOCACHE 0x00000100 /* set the non-cacheable bit */
+#define PMAP_NOCACHE 0x01000000 /* set the non-cacheable bit */
/*
* global kernel variables
@@ -398,7 +398,7 @@
/* pmap functions with machine addresses */
void pmap_kenter_ma(vaddr_t, paddr_t, vm_prot_t);
int pmap_enter_ma(struct pmap *, vaddr_t, paddr_t, paddr_t,
- vm_prot_t, int, int);
+ vm_prot_t, u_int, int);
bool pmap_extract_ma(pmap_t, vaddr_t, paddr_t *);
paddr_t vtomach(vaddr_t);