From 1be243700efc9e36060c5fb65c951d5db6b98e94 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Jan 2024 17:59:15 +0100 Subject: Add ROADMAP details, add EFI Library for bootloader. Add assignee to code in MailMap. Signed-off-by: Amlal El Mahrouss --- Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp (limited to 'Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp') diff --git a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp new file mode 100644 index 00000000..0881f9c6 --- /dev/null +++ b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp @@ -0,0 +1,21 @@ +/* + * ======================================================== + * + * HCore + * Copyright 2024 Mahrouss Logic, all rights reserved. + * + * ======================================================== + */ + +#include +#include + +HCore::Array kSyscalls; + +extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) +{ + for (HCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) + { + (kSyscalls[index].Leak().Leak())(stack->ID, stack); + } +} -- cgit v1.2.3