summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-03 21:39:57 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-03 21:39:57 +0200
commite3d15c1db1ccb906561e80012d624aecf1ae8d8d (patch)
tree25a26f565ab5c442395299cbd2f2c4c1ab3f0af6 /Private/HALKit
parent5e585fa5cdcb9648cf84a650b409e7589de1cecf (diff)
Kernel: A lot of changes, please expand the the message.
Meta: Add eclipse project. PowerPC: WiP implementation of a 64-bit PowerPC kernel, see specs. -> NOTE: It will still be a customized AMD64 machine, running a custom version of CoreBoot. Kernel: Start implementing MBCI support into the kernel. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/HALKit')
-rw-r--r--Private/HALKit/AMD64/HalHardwareAPIC.cpp2
-rw-r--r--Private/HALKit/PowerPC/HalHardware.cxx8
2 files changed, 4 insertions, 6 deletions
diff --git a/Private/HALKit/AMD64/HalHardwareAPIC.cpp b/Private/HALKit/AMD64/HalHardwareAPIC.cpp
index 0c65ed5d..6d5fe234 100644
--- a/Private/HALKit/AMD64/HalHardwareAPIC.cpp
+++ b/Private/HALKit/AMD64/HalHardwareAPIC.cpp
@@ -30,8 +30,6 @@ static void __rt_hang_proc(void) {
void rt_hang_thread(HAL::StackFrame* stack) {
HAL::rt_cli();
- // TODO
-
HAL::rt_sti();
}
} // namespace NewOS
diff --git a/Private/HALKit/PowerPC/HalHardware.cxx b/Private/HALKit/PowerPC/HalHardware.cxx
index 9fc278a6..96f0a433 100644
--- a/Private/HALKit/PowerPC/HalHardware.cxx
+++ b/Private/HALKit/PowerPC/HalHardware.cxx
@@ -12,12 +12,12 @@ namespace HAL {
UIntPtr hal_alloc_page(bool rw, bool user) { return 0; }
} // namespace HAL
-// @brief wakes up thread.
-// wakes up thread from hang.
+/// @brief wakes up thread.
+/// wakes up thread from hang.
void rt_wakeup_thread(HAL::StackFrame* stack) {}
-// @brief makes thread sleep.
-// hooks and hangs thread to prevent code from executing.
+/// @brief makes thread sleep.
+/// hooks and hangs thread to prevent code from executing.
void rt_hang_thread(HAL::StackFrame* stack) {}
void ke_com_print(const Char* bytes) {