Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/usermode mmap ppl is always < 16 so make i...
details: https://anonhg.NetBSD.org/src/rev/960ecf6d182b
branches: trunk
changeset: 772441:960ecf6d182b
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Jan 04 11:53:09 2012 +0000
description:
mmap ppl is always < 16 so make it an uint8_t
diffstat:
sys/arch/usermode/usermode/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fe1f88318504 -r 960ecf6d182b sys/arch/usermode/usermode/pmap.c
--- a/sys/arch/usermode/usermode/pmap.c Wed Jan 04 10:57:40 2012 +0000
+++ b/sys/arch/usermode/usermode/pmap.c Wed Jan 04 11:53:09 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.92 2012/01/03 21:28:50 reinoud Exp $ */
+/* $NetBSD: pmap.c,v 1.93 2012/01/04 11:53:09 reinoud Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <reinoud%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.92 2012/01/03 21:28:50 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.93 2012/01/04 11:53:09 reinoud Exp $");
#include "opt_memsize.h"
#include "opt_kmempages.h"
@@ -50,7 +50,7 @@
uintptr_t pv_ppn; /* physical page number */
uintptr_t pv_lpn; /* logical page number */
vm_prot_t pv_prot; /* logical protection */
- int pv_mmap_ppl; /* programmed protection */
+ uint8_t pv_mmap_ppl; /* programmed protection */
uint8_t pv_vflags; /* per mapping flags */
#define PV_WIRED 0x01 /* wired mapping */
#define PV_UNMANAGED 0x02 /* entered by pmap_kenter_ */
Home |
Main Index |
Thread Index |
Old Index