From af8a516fc22865abd80d6e26f1541fa3d6bebfdc Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 9 May 2024 00:42:44 +0200 Subject: MHR-23: :boom:, refactors. - Move NewBoot to /Boot, thus making Kernel directory only containing the kernel. Signed-off-by: Amlal El Mahrouss --- Boot/BootKit/Platform.hxx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Boot/BootKit/Platform.hxx (limited to 'Boot/BootKit/Platform.hxx') diff --git a/Boot/BootKit/Platform.hxx b/Boot/BootKit/Platform.hxx new file mode 100644 index 00000000..972430ce --- /dev/null +++ b/Boot/BootKit/Platform.hxx @@ -0,0 +1,22 @@ +/* ------------------------------------------- + + Copyright SoftwareLabs + +------------------------------------------- */ + +#pragma once + +/** + @file Processor.hxx + @brief Processor specific code. +*/ + +#ifdef __x86_64__ + +extern "C" void rt_halt(); +extern "C" void rt_cli(); +extern "C" void rt_sti(); +extern "C" void rt_cld(); +extern "C" void rt_std(); + +#endif /* ifdef __x86_64__ */ -- cgit v1.2.3