summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/AMD64/HalHardwareMP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/HALKit/AMD64/HalHardwareMP.cpp')
-rw-r--r--Private/HALKit/AMD64/HalHardwareMP.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/Private/HALKit/AMD64/HalHardwareMP.cpp b/Private/HALKit/AMD64/HalHardwareMP.cpp
deleted file mode 100644
index e514eb55..00000000
--- a/Private/HALKit/AMD64/HalHardwareMP.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-#include <ArchKit/ArchKit.hpp>
-
-// bugs = 0
-
-namespace NewOS
-{
- /// @brief wakes up thread.
- /// wakes up thread from hang.
- void rt_wakeup_thread(HAL::StackFrame* stack)
- {
- HAL::rt_cli();
-
- stack->Rcx = 0;
-
- HAL::rt_sti();
- }
-
- /// @brief makes thread sleep.
- /// hooks and hangs thread to prevent code from executing.
- void rt_hang_thread(HAL::StackFrame* stack)
- {
- HAL::rt_cli();
-
- stack->Rcx = 1;
-
- HAL::rt_sti();
- }
-} // namespace NewOS