serenity/Kernel/system.h
2018-12-04 00:27:16 +01:00

23 lines
341 B
C

#pragma once
#include "types.h"
#include <AK/Vector.h>
#include <AK/AKString.h>
struct KSym {
dword address;
String name;
};
Vector<KSym, KmallocEternalAllocator>& ksyms() PURE;
const KSym* ksymbolicate(dword address) PURE;
struct system_t
{
time_t uptime;
dword nprocess;
dword nblocked;
};
extern system_t system;