summaryrefslogtreecommitdiff
path: root/Kernel/system.h
blob: 16fbc1220f328e9e7c876bf6c5777bd8257c3dc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "types.h"
#include <AK/Vector.h>
#include <AK/String.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;