mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
I also added a generator cache to FileHandle. This way, multiple reads to a generated file (i.e in a synthfs) can transparently handle multiple calls to read() without the contents changing between calls. The cache is discarded at EOF (or when the FileHandle is destroyed.)
22 lines
314 B
C
22 lines
314 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;
|
|
const KSym* ksymbolicate(dword address) PURE;
|
|
|
|
struct system_t
|
|
{
|
|
time_t uptime;
|
|
DWORD nprocess;
|
|
DWORD nblocked;
|
|
};
|
|
|
|
extern system_t system;
|