From 9e746d42d2e3faa526f12ba222f5ee6924dd30f9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Dec 2025 10:08:33 +0100 Subject: feat! breaking API changes, use header guards and libSystem fixes. Signed-off-by: Amlal El Mahrouss --- src/kernel/HALKit/ARM64/ApplicationProcessor.h | 7 +++++-- src/kernel/HALKit/ARM64/Paging.h | 7 +++++-- src/kernel/HALKit/ARM64/Processor.h | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) (limited to 'src/kernel/HALKit/ARM64') diff --git a/src/kernel/HALKit/ARM64/ApplicationProcessor.h b/src/kernel/HALKit/ARM64/ApplicationProcessor.h index 71f8b68a..2ce60dd1 100644 --- a/src/kernel/HALKit/ARM64/ApplicationProcessor.h +++ b/src/kernel/HALKit/ARM64/ApplicationProcessor.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef HALKIT_APPLICATIONPROCESSOR_H +#define HALKIT_APPLICATIONPROCESSOR_H #include #include @@ -16,4 +17,6 @@ namespace Kernel { Void mp_init_cores(Void); -} \ No newline at end of file +} + +#endif diff --git a/src/kernel/HALKit/ARM64/Paging.h b/src/kernel/HALKit/ARM64/Paging.h index 34cf4213..7526b640 100644 --- a/src/kernel/HALKit/ARM64/Paging.h +++ b/src/kernel/HALKit/ARM64/Paging.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef HALKIT_PAGING_H +#define HALKIT_PAGING_H /** --------------------------------------------------- @@ -102,4 +103,6 @@ typedef HAL::PDE_4KB PDE; EXTERN_C void hal_flush_tlb(); -#endif // __NE_ARM64__ \ No newline at end of file +#endif // __NE_ARM64__ + +#endif diff --git a/src/kernel/HALKit/ARM64/Processor.h b/src/kernel/HALKit/ARM64/Processor.h index 3ef21957..f4df9a92 100644 --- a/src/kernel/HALKit/ARM64/Processor.h +++ b/src/kernel/HALKit/ARM64/Processor.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef HALKIT_PROCESSOR_H +#define HALKIT_PROCESSOR_H #ifdef __NE_ARM64__ @@ -75,4 +76,6 @@ inline Kernel::UIntPtr kKernelBitMpSize = 0UL; #include -#endif // __NE_ARM64__ \ No newline at end of file +#endif // __NE_ARM64__ + +#endif -- cgit v1.2.3