summaryrefslogtreecommitdiff
path: root/Kernel/system.h
blob: 0839f28d45c4dc7fce70577e770192d20f3ecbfa (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>& ksyms() PURE;
const KSym* ksymbolicate(dword address) PURE;

struct system_t
{
    time_t uptime;
    DWORD nprocess;
    DWORD nblocked;
};

extern system_t system;