1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

AK+Userland: Stub out code that isn't currently implemented on AARCH64

Even though this almost certainly wouldn't run properly even if we had
a working kernel for AARCH64 this at least lets us build all the
userland binaries.
This commit is contained in:
Gunnar Beutner 2022-10-12 21:55:05 +02:00 committed by Linus Groh
parent c18c84dbfd
commit 31bd5b1a02
17 changed files with 206 additions and 6 deletions

View file

@ -66,6 +66,11 @@ static void print_syscall(PtraceRegisters& regs, size_t depth)
regs.rcx,
regs.rbx,
end_color);
#elif ARCH(AARCH64)
(void)regs;
(void)begin_color;
(void)end_color;
TODO_AARCH64();
#else
# error Unknown architecture
#endif
@ -145,6 +150,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
const FlatPtr ip = regs.value().eip;
#elif ARCH(X86_64)
const FlatPtr ip = regs.value().rip;
#elif ARCH(AARCH64)
const FlatPtr ip = 0; // FIXME
TODO_AARCH64();
#else
# error Unknown architecture
#endif