diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-05 09:57:44 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-05 09:57:44 +0100 |
| commit | 5f8ee9584a7a5c911d46f73e24ec7a1201058c50 (patch) | |
| tree | d31ac096094430ca93e521ef233144d969ad6427 /dev/DebuggerKit/NeKernelContract.h | |
| parent | b0c5f2a2683657182f5ce3dc3bcbf252164b0077 (diff) | |
feat! compiler_kit: API breaking changes.
feat: debugger_kit: Debugger work in progress implementation.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/DebuggerKit/NeKernelContract.h')
| -rw-r--r-- | dev/DebuggerKit/NeKernelContract.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/dev/DebuggerKit/NeKernelContract.h b/dev/DebuggerKit/NeKernelContract.h index 9797639..20d86cd 100644 --- a/dev/DebuggerKit/NeKernelContract.h +++ b/dev/DebuggerKit/NeKernelContract.h @@ -3,10 +3,10 @@ (C) 2025 Amlal El Mahrouss */ -#ifndef LD_NEKERNEL_CONTRACT_H -#define LD_NEKERNEL_CONTRACT_H +#ifndef DK_NEKERNEL_CONTRACT_H +#define DK_NEKERNEL_CONTRACT_H -#ifdef LD_NEKERNEL_DEBUGGER +#ifdef DK_NEKERNEL_DEBUGGER #include <DebuggerKit/DebuggerContract.h> @@ -14,8 +14,11 @@ namespace DebuggerKit::NeKernel { class NeKernelContract; namespace Detail { - inline constexpr size_t kDebugCmdLen = 256U; - typedef char rt_debug_cmd[kDebugCmdLen]; + inline constexpr auto kDebugCmdLen = 256U; + inline constexpr auto kDebugPort = 51820; + inline constexpr auto kDebugMagic = "VMK1.0.0;"; + inline constexpr auto kDebugVersion = 0x0100; + typedef char rt_debug_cmd[kDebugCmdLen]; } // namespace Detail class NeKernelContract : public DebuggerContract { @@ -42,6 +45,6 @@ class NeKernelContract : public DebuggerContract { }; } // namespace DebuggerKit::NeKernel -#endif // ifdef LD_NEKERNEL_DEBUGGER +#endif // ifdef DK_NEKERNEL_DEBUGGER -#endif // LD_NEKERNEL_CONTRACT_H
\ No newline at end of file +#endif // DK_NEKERNEL_CONTRACT_H
\ No newline at end of file |
