summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/KernelKit')
-rw-r--r--dev/kernel/KernelKit/DebugOutput.h12
-rw-r--r--dev/kernel/KernelKit/UserProcessScheduler.h2
2 files changed, 3 insertions, 11 deletions
diff --git a/dev/kernel/KernelKit/DebugOutput.h b/dev/kernel/KernelKit/DebugOutput.h
index de3bc997..87649406 100644
--- a/dev/kernel/KernelKit/DebugOutput.h
+++ b/dev/kernel/KernelKit/DebugOutput.h
@@ -12,7 +12,7 @@
#include <NeKit/Stream.h>
#include <NeKit/Utils.h>
-#define kDebugUnboundPort 0x0FEED
+#define kDebugPort (51820U)
#define kDebugMag0 'K'
#define kDebugMag1 'D'
@@ -27,7 +27,7 @@
namespace Kernel {
class TerminalDevice;
class DTraceDevice;
-class DebugDevice;
+class NeDebugDevice;
class Utf8TerminalDevice;
inline TerminalDevice end_line();
@@ -184,14 +184,6 @@ inline constexpr SizeT kDebugTypeLen = 256U;
typedef Char rt_debug_type[kDebugTypeLen];
-/// @brief KDBG's packet header.
-class KernelDebugHeader final {
- public:
- Int16 fPort;
- Int16 fPortKind;
- rt_debug_type fPortBlob;
-};
-
inline TerminalDevice& operator<<(TerminalDevice& src, const Long& num) {
src = number(num);
return src;
diff --git a/dev/kernel/KernelKit/UserProcessScheduler.h b/dev/kernel/KernelKit/UserProcessScheduler.h
index 5bc5b8d2..ebe8d1cd 100644
--- a/dev/kernel/KernelKit/UserProcessScheduler.h
+++ b/dev/kernel/KernelKit/UserProcessScheduler.h
@@ -62,7 +62,7 @@ class USER_PROCESS final {
};
USER_PROCESS_SIGNAL Signal;
- PROCESS_FILE_TREE<UInt32*>* FileTree{nullptr};
+ PROCESS_FILE_TREE<VoidPtr>* FileTree{nullptr};
PROCESS_HEAP_TREE<VoidPtr>* HeapTree{nullptr};
UserProcessTeam* ParentTeam;