summaryrefslogtreecommitdiffhomepage
path: root/Private/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source')
-rw-r--r--Private/Source/FileManager.cxx1
-rw-r--r--Private/Source/PEFCodeManager.cxx3
-rw-r--r--Private/Source/Timer.cxx2
3 files changed, 2 insertions, 4 deletions
diff --git a/Private/Source/FileManager.cxx b/Private/Source/FileManager.cxx
index 58330c9b..5f6ed174 100644
--- a/Private/Source/FileManager.cxx
+++ b/Private/Source/FileManager.cxx
@@ -5,7 +5,6 @@
------------------------------------------- */
#include <KernelKit/FileManager.hpp>
-#include <NewKit/ErrorID.hpp>
#include <NewKit/Utils.hpp>
/// BUGS: 0
diff --git a/Private/Source/PEFCodeManager.cxx b/Private/Source/PEFCodeManager.cxx
index 356cd992..a3afbd52 100644
--- a/Private/Source/PEFCodeManager.cxx
+++ b/Private/Source/PEFCodeManager.cxx
@@ -10,7 +10,6 @@
#include <KernelKit/PEFCodeManager.hxx>
#include <KernelKit/ProcessScheduler.hpp>
#include <NewKit/Defines.hpp>
-#include <NewKit/ErrorID.hpp>
#include <NewKit/KernelCheck.hpp>
#include <NewKit/OwnPtr.hpp>
#include <NewKit/String.hpp>
@@ -172,7 +171,7 @@ namespace NewOS
if (auto sym = this->FindSymbol(kPefStart, kPefCode); sym)
return ErrorOr<VoidPtr>(sym);
- return ErrorOr<VoidPtr>(H_EXEC_ERROR);
+ return ErrorOr<VoidPtr>(kErrorExecutable);
}
/// @brief Tells if the executable is loaded or not.
diff --git a/Private/Source/Timer.cxx b/Private/Source/Timer.cxx
index da80db1e..962b3367 100644
--- a/Private/Source/Timer.cxx
+++ b/Private/Source/Timer.cxx
@@ -14,7 +14,7 @@ using namespace NewOS;
/// @brief Unimplemented as it is an interface.
Int32 HardwareTimerInterface::Wait() noexcept
{
- return H_UNIMPLEMENTED;
+ return kErrorUnimplemented;
}
/// @brief HardwareTimer class, meant to be generic.