mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:17:34 +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:
parent
c18c84dbfd
commit
31bd5b1a02
17 changed files with 206 additions and 6 deletions
|
@ -23,8 +23,10 @@ struct [[gnu::packed]] PtraceRegisters : public __mcontext {
|
|||
{
|
||||
# if ARCH(I386)
|
||||
return eip;
|
||||
# else
|
||||
# elif ARCH(X86_64)
|
||||
return rip;
|
||||
# else
|
||||
TODO_AARCH64();
|
||||
# endif
|
||||
}
|
||||
|
||||
|
@ -32,8 +34,11 @@ struct [[gnu::packed]] PtraceRegisters : public __mcontext {
|
|||
{
|
||||
# if ARCH(I386)
|
||||
eip = ip;
|
||||
# else
|
||||
# elif ARCH(X86_64)
|
||||
rip = ip;
|
||||
# else
|
||||
(void)ip;
|
||||
TODO_AARCH64();
|
||||
# endif
|
||||
}
|
||||
|
||||
|
@ -41,8 +46,10 @@ struct [[gnu::packed]] PtraceRegisters : public __mcontext {
|
|||
{
|
||||
# if ARCH(I386)
|
||||
return ebp;
|
||||
# else
|
||||
# elif ARCH(X86_64)
|
||||
return rbp;
|
||||
# else
|
||||
TODO_AARCH64();
|
||||
# endif
|
||||
}
|
||||
|
||||
|
@ -50,8 +57,11 @@ struct [[gnu::packed]] PtraceRegisters : public __mcontext {
|
|||
{
|
||||
# if ARCH(I386)
|
||||
ebp = bp;
|
||||
# else
|
||||
# elif ARCH(X86_64)
|
||||
rbp = bp;
|
||||
# else
|
||||
(void)bp;
|
||||
TODO_AARCH64();
|
||||
# endif
|
||||
}
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue