Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/include add LX_BLKPAG_SH_IS pte attribute f...



details:   https://anonhg.NetBSD.org/src/rev/8bc3d2014208
branches:  trunk
changeset: 445729:8bc3d2014208
user:      ryo <ryo%NetBSD.org@localhost>
date:      Sat Nov 10 18:30:58 2018 +0000

description:
add LX_BLKPAG_SH_IS pte attribute for MP

diffstat:

 sys/arch/aarch64/include/asan.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0a657c9d2e3f -r 8bc3d2014208 sys/arch/aarch64/include/asan.h
--- a/sys/arch/aarch64/include/asan.h   Sat Nov 10 18:29:08 2018 +0000
+++ b/sys/arch/aarch64/include/asan.h   Sat Nov 10 18:30:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asan.h,v 1.3 2018/11/08 08:28:07 maxv Exp $    */
+/*     $NetBSD: asan.h,v 1.4 2018/11/10 18:30:58 ryo Exp $     */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -137,7 +137,8 @@
        if (!l3pte_valid(pde)) {
                pa = __md_palloc();
                atomic_swap_64(&l3[idx], pa | L3_PAGE | LX_BLKPAG_UXN |
-                   LX_BLKPAG_PXN | LX_BLKPAG_AF | LX_BLKPAG_AP_RW);
+                   LX_BLKPAG_PXN | LX_BLKPAG_AF | LX_BLKPAG_SH_IS |
+                   LX_BLKPAG_AP_RW);
                aarch64_tlbi_by_va(va);
        }
 }



Home | Main Index | Thread Index | Old Index