summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-09 14:20:49 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-09 14:26:06 +0200
commitacd8297fe927e601a7173cec7ca5445fd4a9c74a (patch)
treed5610bc9f9cad2b93dd102ccb80eadb291d3fc1c /Kernel/HALKit
parent30a6f8174ab44c12ccdfb212a2f6895440581d1a (diff)
[IMP] [KRNL DLL] Update stop code, not using serial output anymore.
[IMP] [CRT DLL] Add CRT DLL as well. [HANDOVER] Update protocol by hiding an internal struct. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/HALKit')
-rw-r--r--Kernel/HALKit/AMD64/HalKernelMain.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/Kernel/HALKit/AMD64/HalKernelMain.cxx b/Kernel/HALKit/AMD64/HalKernelMain.cxx
index 520d0833..93841bc1 100644
--- a/Kernel/HALKit/AMD64/HalKernelMain.cxx
+++ b/Kernel/HALKit/AMD64/HalKernelMain.cxx
@@ -84,6 +84,8 @@ EXTERN_C void hal_init_platform(
kTextOffsetY += 10;
cg_write_text("SMP OS (MAX 8 CORES).", kTextOffsetY, 10, RGB(0x00, 0x00, 0x00));
+ Kernel::ke_stop(RUNTIME_CHECK_BOOTSTRAP);
+
hal_real_init();
}
@@ -137,7 +139,6 @@ void hal_real_init(void)
constexpr auto cLPCSendMsg = 0x25;
constexpr auto cLPCOpenMsg = 0x26;
constexpr auto cLPCCloseMsg = 0x27;
- constexpr auto cLPCSanitizeMsg = 0x28;
kSyscalls[cTlsInterrupt].Leak().Leak()->fProc = [](Kernel::VoidPtr rdx) -> void {
if (tls_check_syscall_impl(rdx) == false)
@@ -146,10 +147,6 @@ void hal_real_init(void)
}
};
- kSyscalls[cLPCSanitizeMsg].Leak().Leak()->fProc = [](Kernel::VoidPtr rdx) -> void {
- Kernel::ipc_sanitize_packet(reinterpret_cast<Kernel::IPC_MESSAGE_STRUCT*>(rdx));
- };
-
kSyscalls[cNewInterrupt].Leak().Leak()->fProc = [](Kernel::VoidPtr rdx) -> void {
// get HAC struct.
HEAP_ALLOC_INFO* rdxInf = reinterpret_cast<HEAP_ALLOC_INFO*>(rdx);
@@ -219,9 +216,6 @@ void hal_real_init(void)
kSyscalls[cLastExitInterrupt].Leak().Leak()->fHooked = true;
kSyscalls[cShutdownInterrupt].Leak().Leak()->fHooked = true;
kSyscalls[cRebootInterrupt].Leak().Leak()->fHooked = true;
- kSyscalls[cLPCSanitizeMsg].Leak().Leak()->fHooked = true;
Kernel::HAL::hal_system_get_cores(kHandoverHeader->f_HardwareTables.f_VendorPtr);
-
- Kernel::ke_stop(RUNTIME_CHECK_BOOTSTRAP);
}