1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00
serenity/Kernel/system.h
Andreas Kling c928b06218 Add a very hackish /proc/PID/stack.
It walks the stack and identifies anything that looks like a kernel symbol.
This could be a lot more sophisticated.
2018-10-26 22:33:15 +02:00

21 lines
268 B
C

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