diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-04 09:41:02 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-04 09:41:02 +0100 |
| commit | 73044afd9c61642b4c8217befa1ded3849685554 (patch) | |
| tree | 1a7cd9ad6a6f7ab5db46914fb3deaab49f9898a1 /dev/Kernel/HALKit/ARM64 | |
| parent | f5b6f148a8c10673e3ef268d3fe76b31902c5930 (diff) | |
ADD: Important refactors regarding NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/ARM64')
| -rw-r--r-- | dev/Kernel/HALKit/ARM64/HalApplicationProcessor.cc | 4 | ||||
| -rw-r--r-- | dev/Kernel/HALKit/ARM64/HalKernelPanic.cc | 4 | ||||
| -rw-r--r-- | dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/dev/Kernel/HALKit/ARM64/HalApplicationProcessor.cc b/dev/Kernel/HALKit/ARM64/HalApplicationProcessor.cc index c176d36a..c2bea7e3 100644 --- a/dev/Kernel/HALKit/ARM64/HalApplicationProcessor.cc +++ b/dev/Kernel/HALKit/ARM64/HalApplicationProcessor.cc @@ -78,7 +78,7 @@ namespace Kernel // Enable interrupt 32 for AP.
HAL::hal_mmio_write(GICD_BASE + GICD_ISENABLER + (32 / 32) * 4, 0x01 << (32 % 32));
- kcout << "AP's GIC configured in ISR 32." << endl;
+ kout << "AP's GIC configured in ISR 32." << endl;
}
BOOL mp_handle_gic_interrupt_el0(Void)
@@ -89,7 +89,7 @@ namespace Kernel // Check if it's a valid interrupt (not spurious)
if ((interrupt_id & 0x3FF) < 1020)
{
- kcout << "Handling interrupt for AP: " << (interrupt_id & 0x3FF) << endl;
+ kout << "Handling interrupt for AP: " << (interrupt_id & 0x3FF) << endl;
// TODO: Handle code here.
diff --git a/dev/Kernel/HALKit/ARM64/HalKernelPanic.cc b/dev/Kernel/HALKit/ARM64/HalKernelPanic.cc index a2ab0628..d7884682 100644 --- a/dev/Kernel/HALKit/ARM64/HalKernelPanic.cc +++ b/dev/Kernel/HALKit/ARM64/HalKernelPanic.cc @@ -71,8 +71,8 @@ namespace Kernel { if (!expr) { - kcout << "FAILED: FILE: " << file << endl; - kcout << "FAILED: LINE: " << line << endl; + kout << "FAILED: FILE: " << file << endl; + kout << "FAILED: LINE: " << line << endl; ke_panic(RUNTIME_CHECK_FAILED, file); // Runtime Check failed } diff --git a/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc b/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc index 30e7cef0..2abf04b5 100644 --- a/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc +++ b/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc @@ -62,7 +62,7 @@ namespace Kernel kFlashMetaPackets[slot]->InterruptEnable = YES; - kcout << "Enabled hardware slot at: " << number(slot) << endl; + kout << "Enabled hardware slot at: " << number(slot) << endl; return YES; } @@ -75,7 +75,7 @@ namespace Kernel kFlashMetaPackets[slot]->InterruptEnable = NO; - kcout << "Disabled hardware slot at: " << number(slot) << endl; + kout << "Disabled hardware slot at: " << number(slot) << endl; return YES; } |
