fix: various fixes

This commit is contained in:
daniel committed 2026-02-22 10:53:30 +01:00
1 parent 4a1d62c337
commit a001fa513d
10 files changed
+50176 -10

No files matched your search

+10
View File
@@ -83,6 +83,9 @@ namespace Zenith {
static constexpr uint64_t SYS_KILL = 62;
static constexpr uint64_t SYS_DEVLIST = 63;
// Kernel introspection syscalls
static constexpr uint64_t SYS_MEMSTATS = 67;
static constexpr int SOCK_TCP = 1;
static constexpr int SOCK_UDP = 2;
@@ -178,4 +181,11 @@ namespace Zenith {
uint64_t heapUsed; // heapNext - UserHeapBase (bytes)
};
struct MemStats {
uint64_t totalBytes;
uint64_t freeBytes;
uint64_t usedBytes;
uint64_t pageSize;
};
}