|
AquilaOS documentation
How it works, and its code
|
What an exception saves on the kernel stack (cpu/vectors.S): the context it interrupted. More...
#include <cpu.h>
Data Fields | |
| uint64_t | x [31] |
| uint64_t | sp |
| uint64_t | pc |
| uint64_t | pstate |
| uint64_t | orig_x0 |
| uint64_t | esr |
What an exception saves on the kernel stack (cpu/vectors.S): the context it interrupted.
orig_x0 is a system call's first argument, because the call's result replaces it in x[0], and a restart needs it back.
| uint64_t aarch64_regs::esr |
Definition at line 18 of file cpu.h.
Referenced by abort(), dump(), and sync_dispatch().
| uint64_t aarch64_regs::orig_x0 |
Definition at line 17 of file cpu.h.
Referenced by aarch64_return_to_user().
| uint64_t aarch64_regs::pc |
Definition at line 15 of file cpu.h.
Referenced by aarch64_return_to_user(), deliver(), dump(), sync_dispatch(), and uaccess_fixup().
| uint64_t aarch64_regs::pstate |
Definition at line 16 of file cpu.h.
Referenced by arch_sigreturn(), deliver(), and dump().
| uint64_t aarch64_regs::sp |
Definition at line 14 of file cpu.h.
Referenced by arch_sigreturn(), deliver(), and dump().
| uint64_t aarch64_regs::x[31] |
Definition at line 13 of file cpu.h.
Referenced by aarch64_return_to_user(), arch_syscall(), arch_syscall_return(), deliver(), and dump().