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

Kernel: Implement Processor::assume_context for AArch64

With this implemented sys$execve should be fully working on AArch64.
This commit is contained in:
Idan Horowitz 2023-04-02 03:41:41 +03:00 committed by Andrew Kaster
parent 0dc5c49938
commit 402c9e5e23
3 changed files with 51 additions and 3 deletions

View file

@ -24,6 +24,9 @@ struct TrapFrame {
TrapFrame& operator=(TrapFrame&&) = delete;
};
#define TRAP_FRAME_SIZE (2 * 8)
static_assert(AssertSize<TrapFrame, TRAP_FRAME_SIZE>());
extern "C" void exit_trap(TrapFrame*) __attribute__((used));
}