diff options
Diffstat (limited to 'Private')
| -rw-r--r-- | Private/HALKit/AMD64/HalInterruptRouting.asm | 1 | ||||
| -rw-r--r-- | Private/NewKit/LockDelegate.hpp | 9 | ||||
| -rw-r--r-- | Private/Source/HError.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Private/HALKit/AMD64/HalInterruptRouting.asm b/Private/HALKit/AMD64/HalInterruptRouting.asm index f021bf9a..ae3d51c5 100644 --- a/Private/HALKit/AMD64/HalInterruptRouting.asm +++ b/Private/HALKit/AMD64/HalInterruptRouting.asm @@ -188,7 +188,6 @@ IntNormal 60 ;; this one is doing a POST for us. ;; testing interrupts. _ke_power_on_self_test: - mov rcx, 0 int 0x21 int 0x21 int 0x21 diff --git a/Private/NewKit/LockDelegate.hpp b/Private/NewKit/LockDelegate.hpp index 74cd22e5..0fd9ba63 100644 --- a/Private/NewKit/LockDelegate.hpp +++ b/Private/NewKit/LockDelegate.hpp @@ -10,12 +10,15 @@ #include <NewKit/Defines.hpp> #define kLockDone (200U) /* job is done */ -#define kLockTimedOut (100U) /* has timed out */ +#define kLockTimedOut (100U) /* job has timed out */ namespace HCore { +/// @brief Lock condition pointer. +typedef Boolean* LockPtr; + /// @brief Locking delegate class, hangs until limit. -/// @tparam N +/// @tparam N the amount of cycles to wait. template <SizeT N> class LockDelegate final { @@ -23,7 +26,7 @@ class LockDelegate final LockDelegate() = delete; public: - explicit LockDelegate(Boolean *expr) + explicit LockDelegate(LockPtr expr) { auto spin = 0U; diff --git a/Private/Source/HError.cxx b/Private/Source/HError.cxx index ced95401..95d38e57 100644 --- a/Private/Source/HError.cxx +++ b/Private/Source/HError.cxx @@ -6,8 +6,6 @@ #include <KernelKit/HError.hpp> -using namespace HCore; - namespace HCore { Boolean ke_bug_check(void) noexcept { return false; } } // namespace HCore |
