Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115541344
D46393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D46393.diff
View Options
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -945,8 +945,9 @@
#error Unsupported page size
#endif
- .quad (TCR_TxSZ(64 - VIRT_BITS) | TCR_TG | \
- TCR_CACHE_ATTRS | TCR_SMP_ATTRS)
+ .quad (TCR_TxSZ(64 - VIRT_BITS) | TCR_TG | \
+ TCR_SH1_IS | TCR_ORGN1_WBWA | TCR_IRGN1_WBWA | \
+ TCR_SH0_IS | TCR_ORGN0_WBWA | TCR_IRGN0_WBWA)
sctlr_set:
/* Bits to set */
.quad (SCTLR_LSMAOE | SCTLR_nTLSMD | SCTLR_UCI | SCTLR_SPAN | \
diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h
--- a/sys/arm64/include/armreg.h
+++ b/sys/arm64/include/armreg.h
@@ -2543,14 +2543,6 @@
#define TCR_T0SZ(x) ((x) << TCR_T0SZ_SHIFT)
#define TCR_TxSZ(x) (TCR_T1SZ(x) | TCR_T0SZ(x))
-#define TCR_CACHE_ATTRS ((TCR_IRGN0_WBWA | TCR_IRGN1_WBWA) |\
- (TCR_ORGN0_WBWA | TCR_ORGN1_WBWA))
-#ifdef SMP
-#define TCR_SMP_ATTRS (TCR_SH0_IS | TCR_SH1_IS)
-#else
-#define TCR_SMP_ATTRS 0
-#endif
-
/* TCR_EL12 */
#define TCR_EL12_REG MRS_REG_ALT_NAME(TCR_EL12)
#define TCR_EL12_op0 3
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 2:04 AM (19 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17796359
Default Alt Text
D46393.diff (1 KB)
Attached To
Mode
D46393: arm64: Remove TCR_CACHE_ATTRS and TCR_SMP_ATTRS
Attached
Detach File
Event Timeline
Log In to Comment