summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/KernelCheck.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 13:05:28 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 13:05:28 +0100
commit84cc6ff6f43b48383248282743efc514946db641 (patch)
treefa7f9099b87e235ba122d17b6a3b39234cd39883 /Private/Source/KernelCheck.cxx
parent3d798c5fc738768493df925d1f5d72256f2dec4e (diff)
Kernel: :boom: breaking changes, Update API and the HCORE based
macros, rename HCore to NewOS. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/Source/KernelCheck.cxx')
-rw-r--r--Private/Source/KernelCheck.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Private/Source/KernelCheck.cxx b/Private/Source/KernelCheck.cxx
index dcf8a06d..d290ca3d 100644
--- a/Private/Source/KernelCheck.cxx
+++ b/Private/Source/KernelCheck.cxx
@@ -11,16 +11,16 @@
extern "C" [[noreturn]] void ke_wait_for_debugger() {
while (true) {
- HCore::HAL::rt_cli();
- HCore::HAL::rt_halt();
+ NewOS::HAL::rt_cli();
+ NewOS::HAL::rt_halt();
}
}
/* Each error code is attributed with an ID, which will prompt a string onto the
* screen. Wait for debugger... */
-namespace HCore {
-void ke_stop(const HCore::Int &id) {
+namespace NewOS {
+void ke_stop(const NewOS::Int &id) {
kcout << "*** STOP *** \r\n";
kcout << "*** NewKernel.exe has trigerred a runtime stop. *** \r\n";
@@ -96,7 +96,7 @@ void ke_runtime_check(bool expr, const char *file, const char *line) {
#endif // __DEBUG__
- HCore::ke_stop(RUNTIME_CHECK_FAILED); // Runtime Check failed
+ NewOS::ke_stop(RUNTIME_CHECK_FAILED); // Runtime Check failed
}
}
-} // namespace HCore
+} // namespace NewOS