From cbfa3f14674713910077f024958d96fd31b4f36f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 2 Jan 2025 21:10:13 +0100 Subject: FIX: Fix scheduler for the task switch, separate desktop and mobile targets. - Giving priority to aarch64 support. - The scheduler needed those fixes before proceeding to aarch64 support. - We use the register approach, which is correct here, the platform code will just take those records and execute them. Signed-off-by: Amlal El Mahrouss --- dev/Boot/Mod/SysChk/Module.cc | 2 +- dev/Boot/src/HEL/AMD64/BootMain.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/Boot') diff --git a/dev/Boot/Mod/SysChk/Module.cc b/dev/Boot/Mod/SysChk/Module.cc index b2545db6..2305a3e4 100644 --- a/dev/Boot/Mod/SysChk/Module.cc +++ b/dev/Boot/Mod/SysChk/Module.cc @@ -28,5 +28,5 @@ EXTERN_C Int32 ModuleMain(Kernel::HEL::BootInfoHeader* handover) Boot::BDiskFormatFactory partition_factory; - return !partition_factory.IsPartitionValid() ? kEfiOk : kEfiFail; + return (!partition_factory.IsPartitionValid()) ? kEfiFail : kEfiOk; } diff --git a/dev/Boot/src/HEL/AMD64/BootMain.cc b/dev/Boot/src/HEL/AMD64/BootMain.cc index db370db1..6aa5a0d9 100644 --- a/dev/Boot/src/HEL/AMD64/BootMain.cc +++ b/dev/Boot/src/HEL/AMD64/BootMain.cc @@ -231,7 +231,7 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr image_handle, root.fKind = kNeFSCatalogKindDir; - partition_factory.Format(kMachineModel " HD", &root, 1); + partition_factory.Format("HD", &root, 1); UI::fb_clear_video(); -- cgit v1.2.3