mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 02:49:15 +00:00
kernel: add aarch64 architecture support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -36,16 +36,16 @@ public:
|
||||
asmv("mov %0, %%cr3"
|
||||
:
|
||||
: "r"(KernelPageTable));
|
||||
#endif
|
||||
debug(" + %#lx %s(%d)", Original,
|
||||
thisProcess->Name, thisProcess->ID);
|
||||
#endif
|
||||
}
|
||||
|
||||
~AutoSwitchPageTable()
|
||||
{
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
debug("- %#lx %s(%d)", Original,
|
||||
thisProcess->Name, thisProcess->ID);
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
asmv("mov %0, %%cr3"
|
||||
:
|
||||
: "r"(Original));
|
||||
|
Reference in New Issue
Block a user