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.cpp45
1 files changed, 24 insertions, 21 deletions
diff --git a/Private/HALKit/AMD64/HalHardwareMP.cpp b/Private/HALKit/AMD64/HalHardwareMP.cpp
index 135222b9..e514eb55 100644
--- a/Private/HALKit/AMD64/HalHardwareMP.cpp
+++ b/Private/HALKit/AMD64/HalHardwareMP.cpp
@@ -8,24 +8,27 @@
// 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
+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