artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d276ec
)
Add memory attributes for stage-2 pagetables.
author
patrick
<patrick@openbsd.org>
Sun, 28 Feb 2021 21:28:33 +0000
(21:28 +0000)
committer
patrick
<patrick@openbsd.org>
Sun, 28 Feb 2021 21:28:33 +0000
(21:28 +0000)
ok kettenis@
sys/arch/arm64/include/pte.h
patch
|
blob
|
history
diff --git
a/sys/arch/arm64/include/pte.h
b/sys/arch/arm64/include/pte.h
index
9c566b8
..
c6fa321
100644
(file)
--- a/
sys/arch/arm64/include/pte.h
+++ b/
sys/arch/arm64/include/pte.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: pte.h,v 1.
6 2021/02/16 12:33:22 kettenis
Exp $ */
+/* $OpenBSD: pte.h,v 1.
7 2021/02/28 21:28:33 patrick
Exp $ */
/*
* Copyright (c) 2014 Dale Rahn <drahn@dalerahn.com>
*
@@
-59,6
+59,12
@@
#define PTE_ATTR_WB 3
#define PTE_ATTR_WT 4
+#define PTE_MEMATTR_DEV_NGNRNE 0x0
+#define PTE_MEMATTR_DEV_NGNRE 0x1
+#define PTE_MEMATTR_CI 0x5
+#define PTE_MEMATTR_WB 0xf
+#define PTE_MEMATTR_WT 0xa
+
#define SH_INNER 3
#define SH_OUTER 2
#define SH_NONE 0