arm64: Use DEVICE_GRE memory when mapping MTR_WC.

* This is the closest thing ARM has the semantics of write-combining
  MTR on x86.

Change-Id: I12a1582e0af871e2ab729262e90695ffe928c85b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8223
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Owen Anderson
2024-09-04 17:15:24 +00:00
committed by waddlesplash
parent 4e4d316738
commit 0caf23319c
3 changed files with 9 additions and 2 deletions
@@ -501,6 +501,8 @@
#define MAIR_ATTR(attr, idx) ((attr) << ((idx) * 8))
#define MAIR_DEVICE_nGnRnE 0x00
#define MAIR_DEVICE_nGnRE 0x04
#define MAIR_DEVICE_nGRE 0x08
#define MAIR_DEVICE_GRE 0x0C
#define MAIR_NORMAL_NC 0x44
#define MAIR_NORMAL_WT 0xbb
#define MAIR_NORMAL_WB 0xff