From c6c908167e37e0f82e272f6f9fd6462c0dd4502c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 27 Jan 2024 19:38:51 +0100 Subject: Kernel: Last refactor of the kernel. Signed-off-by: Amlal El Mahrouss --- Private/KernelKit/CodeManager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/KernelKit/CodeManager.hpp') diff --git a/Private/KernelKit/CodeManager.hpp b/Private/KernelKit/CodeManager.hpp index 04d5647b..f470bb01 100644 --- a/Private/KernelKit/CodeManager.hpp +++ b/Private/KernelKit/CodeManager.hpp @@ -59,14 +59,14 @@ namespace hCore /// This is read-only by design. /// It handles different kind of code. /// PowerPC <-> AMD64 for example. - typedef struct UniversalProcedureTable + typedef struct UniversalProcedureTable final { const Char NAME[kPefNameLen]; const VoidPtr TRAP; const SizeT ARCH; } __attribute__((packed)) UniversalProcedureTableType; - bool execute_from_image(PEFLoader& exec); + bool execute_from_image(PEFLoader& exec) noexcept; } } -- cgit v1.2.3