From 290e43c06e5a09c78593941e8e832bb730f72d21 Mon Sep 17 00:00:00 2001 From: David Karoly Date: Wed, 10 May 2023 17:11:28 +0200 Subject: [PATCH] boot/efi/arm: enable access flag Change-Id: I29bfc2183f180291d6a1a9b11d1d6fd2dce4878d Reviewed-on: https://review.haiku-os.org/c/haiku/+/6438 Reviewed-by: waddlesplash Reviewed-by: Fredrik Holmqvist Tested-by: Commit checker robot --- src/system/boot/platform/efi/arch/arm/entry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/boot/platform/efi/arch/arm/entry.S b/src/system/boot/platform/efi/arch/arm/entry.S index 10c5aff72d..a6a01c7d53 100644 --- a/src/system/boot/platform/efi/arch/arm/entry.S +++ b/src/system/boot/platform/efi/arch/arm/entry.S @@ -88,7 +88,7 @@ _pl1_entry: // enable MMU and caches mrc p15, 0, r9, c1, c0, 0 - bic r9, r9, #0x20000000 // access flag disabled + orr r9, r9, #0x20000000 // access flag enabled bic r9, r9, #0x10000000 // TEX remap disabled orr r9, r9, #0x00001000 // i-cache enabled orr r9, r9, #0x00000004 // d-cache enabled