summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/HALKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-13 23:49:28 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-13 23:49:28 +0200
commit38a534c90e682bd4ce3d176127520f0ff513fb11 (patch)
tree40a37cc86947657486cc430c7e7648e42359c817 /dev/kernel/HALKit
parentf5f62b145d472a2a2c388c385be9d1c4e5b5d84c (diff)
feat(kernel): expand KDBG packet structure, and prefix hexadecimal
numbers with 0x100, instead of 100h. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/HALKit')
-rw-r--r--dev/kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc3
-rw-r--r--dev/kernel/HALKit/AMD64/HalDebugPort.cc4
2 files changed, 4 insertions, 3 deletions
diff --git a/dev/kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc b/dev/kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
index c72a109a..3a380a42 100644
--- a/dev/kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
+++ b/dev/kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
@@ -139,7 +139,8 @@ EXTERN_C Kernel::Void idt_handle_breakpoint(Kernel::UIntPtr rip) {
kIsScheduling = NO;
- while (YES);
+ while (YES)
+ ;
}
kIsScheduling = NO;
diff --git a/dev/kernel/HALKit/AMD64/HalDebugPort.cc b/dev/kernel/HALKit/AMD64/HalDebugPort.cc
index e7448aa3..105fcf47 100644
--- a/dev/kernel/HALKit/AMD64/HalDebugPort.cc
+++ b/dev/kernel/HALKit/AMD64/HalDebugPort.cc
@@ -13,7 +13,7 @@
// after that we have start of additional data.
namespace Kernel {
-void rt_debug_listen(DebuggerPortHeader* theHook) noexcept {
- NE_UNUSED(theHook);
+void rt_debug_listen(KernelDebugHeader* the_hdr) noexcept {
+ NE_UNUSED(the_hdr);
}
} // namespace Kernel