From 98110adc9f47666696e18a6c7c97a3edc89c5d90 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 6 Jan 2025 20:11:53 +0100 Subject: ADD: Fix kernel build and bootloader build on aarch64, add syschk for aarch64. WIP: aarch64 on CoreBoot (EFI is unpractical) Signed-off-by: Amlal El Mahrouss --- dev/Boot/src/BootThread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/Boot/src/BootThread.cc') diff --git a/dev/Boot/src/BootThread.cc b/dev/Boot/src/BootThread.cc index 61f3e805..15773b9b 100644 --- a/dev/Boot/src/BootThread.cc +++ b/dev/Boot/src/BootThread.cc @@ -55,7 +55,7 @@ namespace Boot return; } #elif defined(__ZKA_ARM64__) - if (header_ptr->mMachine != kPeMachineAMD64 || + if (header_ptr->mMachine != kPeMachineARM64 || header_ptr->mSignature != kPeSignature) { writer.Write("BootZ: Not a PE32+ executable.\r"); -- cgit v1.2.3