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 Should be PG_k, doesn't change anything.
details: https://anonhg.NetBSD.org/src/rev/0784494c1d80
branches: trunk
changeset: 822151:0784494c1d80
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Mar 05 08:36:35 2017 +0000
description:
Should be PG_k, doesn't change anything.
diffstat:
sys/arch/x86/x86/pmap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 54a225cac520 -r 0784494c1d80 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Sat Mar 04 23:24:50 2017 +0000
+++ b/sys/arch/x86/x86/pmap.c Sun Mar 05 08:36:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.240 2017/02/11 14:11:24 maxv Exp $ */
+/* $NetBSD: pmap.c,v 1.241 2017/03/05 08:36:35 maxv Exp $ */
/*-
* Copyright (c) 2008, 2010, 2016, 2017 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.240 2017/02/11 14:11:24 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.241 2017/03/05 08:36:35 maxv Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -1354,7 +1354,7 @@
memset((void *)(xen_dummy_user_pgd + KERNBASE), 0, PAGE_SIZE);
/* Mark read-only */
HYPERVISOR_update_va_mapping(xen_dummy_user_pgd + KERNBASE,
- pmap_pa2pte(xen_dummy_user_pgd) | PG_u | PG_V | pmap_pg_nx,
+ pmap_pa2pte(xen_dummy_user_pgd) | PG_k | PG_V | pmap_pg_nx,
UVMF_INVLPG);
/* Pin as L4 */
xpq_queue_pin_l4_table(xpmap_ptom_masked(xen_dummy_user_pgd));
@@ -2092,7 +2092,7 @@
* This pdir will NEVER be active in kernel mode, so mark
* recursive entry invalid.
*/
- pdir[PDIR_SLOT_PTE] = pmap_pa2pte(pdirpa) | PG_u;
+ pdir[PDIR_SLOT_PTE] = pmap_pa2pte(pdirpa) | PG_k;
/*
* PDP constructed this way won't be for the kernel, hence we
Home |
Main Index |
Thread Index |
Old Index