Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Replace PG_G by pmap_pg_g, for the sake of ...
details: https://anonhg.NetBSD.org/src/rev/b5ecd40590ac
branches: trunk
changeset: 359932:b5ecd40590ac
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Mar 01 16:55:01 2018 +0000
description:
Replace PG_G by pmap_pg_g, for the sake of removing references to the
former. No functional change since pmap_pg_g = PG_G.
diffstat:
sys/arch/x86/x86/pmap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 37e5e4004b52 -r b5ecd40590ac sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Thu Mar 01 16:49:06 2018 +0000
+++ b/sys/arch/x86/x86/pmap.c Thu Mar 01 16:55:01 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.281 2018/02/18 14:07:29 maxv Exp $ */
+/* $NetBSD: pmap.c,v 1.282 2018/03/01 16:55:01 maxv Exp $ */
/*
* Copyright (c) 2008, 2010, 2016, 2017 The NetBSD Foundation, Inc.
@@ -170,7 +170,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.281 2018/02/18 14:07:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.282 2018/03/01 16:55:01 maxv Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -1672,7 +1672,7 @@
for ( ; kva < kva_end; kva += PAGE_SIZE) {
p1i = pl1_i(kva);
if (pmap_valid_entry(PTE_BASE[p1i]))
- PTE_BASE[p1i] |= PG_G;
+ PTE_BASE[p1i] |= pmap_pg_g;
}
/* kernel segments */
@@ -1685,7 +1685,7 @@
for ( ; kva < kva_end; kva += PAGE_SIZE) {
p1i = pl1_i(kva);
if (pmap_valid_entry(PTE_BASE[p1i]))
- PTE_BASE[p1i] |= PG_G;
+ PTE_BASE[p1i] |= pmap_pg_g;
}
}
@@ -1695,7 +1695,7 @@
for ( ; kva < kva_end; kva += PAGE_SIZE) {
p1i = pl1_i(kva);
if (pmap_valid_entry(PTE_BASE[p1i]))
- PTE_BASE[p1i] |= PG_G;
+ PTE_BASE[p1i] |= pmap_pg_g;
}
}
#endif
Home |
Main Index |
Thread Index |
Old Index