Update kernel

This commit is contained in:
EnderIce2
2024-01-19 06:47:42 +02:00
parent fd15592608
commit 96daa43d38
282 changed files with 25486 additions and 15700 deletions

View File

@ -24,7 +24,7 @@
class AutoSwitchPageTable
{
private:
uintptr_t Original;
void *Original;
public:
AutoSwitchPageTable()
@ -37,10 +37,14 @@ public:
:
: "r"(KernelPageTable));
#endif
debug(" + %#lx %s(%d)", Original,
thisProcess->Name, thisProcess->ID);
}
~AutoSwitchPageTable()
{
debug("- %#lx %s(%d)", Original,
thisProcess->Name, thisProcess->ID);
#if defined(a86)
asmv("mov %0, %%cr3"
: