summaryrefslogtreecommitdiffhomepage
path: root/Kernel
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-26 18:45:07 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-26 18:45:07 +0200
commit6af51efb727d12ab3ab879a63d9f4ac2b7bd020a (patch)
tree19449f9b76fe49d25561b5540915b4de1c650189 /Kernel
parent5a26f7e56102c69ddf6e4d2a501a074c78e41090 (diff)
FIX: formating in HalKernelMain.cxx
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/HALKit/AMD64/HalKernelMain.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Kernel/HALKit/AMD64/HalKernelMain.cxx b/Kernel/HALKit/AMD64/HalKernelMain.cxx
index da1d32ef..31732022 100644
--- a/Kernel/HALKit/AMD64/HalKernelMain.cxx
+++ b/Kernel/HALKit/AMD64/HalKernelMain.cxx
@@ -125,7 +125,7 @@ EXTERN_C void hal_init_platform(
kSyscalls[cSerialAlertInterrupt].Leak().Leak()->fProc = [](NewOS::VoidPtr rdx) -> void {
const char* msg = (const char*)rdx;
- NewOS::kcout << "NAPI: " << msg << "\r";
+ NewOS::kcout << "Native Log: " << msg << "\r";
};
kSyscalls[cTlsInterrupt].Leak().Leak()->fProc = [](NewOS::VoidPtr rdx) -> void {
@@ -133,22 +133,22 @@ EXTERN_C void hal_init_platform(
};
kSyscalls[cNewInterrupt].Leak().Leak()->fProc = [](NewOS::VoidPtr rdx) -> void {
- /// get HAC struct.
+ // get HAC struct.
HeapAllocInfo* rdxInf = reinterpret_cast<HeapAllocInfo*>(rdx);
if (!rdxInf) return;
- /// assign the fThe field with the pointer.
+ // assign the fThe field with the pointer.
rdxInf->fThe = NewOS::ProcessScheduler::The().Leak().TheCurrent().Leak().New(rdxInf->fTheSz);
};
kSyscalls[cDeleteInterrupt].Leak().Leak()->fProc = [](NewOS::VoidPtr rdx) -> void {
- /// get HAC struct.
+ // get HAC struct.
HeapAllocInfo* rdxInf = reinterpret_cast<HeapAllocInfo*>(rdx);
if (!rdxInf) return;
- /// delete ptr with sz in mind.
+ // delete ptr with sz in mind.
NewOS::ProcessScheduler::The().Leak().TheCurrent().Leak().Delete(rdxInf->fThe, rdxInf->fTheSz);
};
@@ -157,7 +157,7 @@ EXTERN_C void hal_init_platform(
if (!rdxPb) return;
- /// install the process's fTIB and fPIB.
+ // install the fTIB and fPIB.
rt_install_tib(rdxPb->fTIB, rdxPb->fPIB);
};
@@ -196,7 +196,7 @@ EXTERN_C void hal_init_platform(
kSyscalls[cExitInterrupt].Leak().Leak()->fHooked = true;
kSyscalls[cLastExitInterrupt].Leak().Leak()->fHooked = true;
kSyscalls[cShutdownInterrupt].Leak().Leak()->fHooked = true;
- kSyscalls[cRebootInterrupt].Leak().Leak()->fHooked = true;
+ kSyscalls[cRebootInterrupt].Leak().Leak()->fHooked = true;
NewOS::HAL::hal_system_get_cores(kHandoverHeader->f_HardwareTables.f_RsdPtr);