|
AquilaOS documentation
How it works, and its code
|
A thread's x86 state: its kernel stack, and where it resumes. More...
#include <arch.h>
Data Fields | |
| uintptr_t | kstack |
| uintptr_t | kstack_base |
| uintptr_t | rip |
| uintptr_t | rsp |
| uintptr_t | rbp |
| uintptr_t | rflags |
| uintptr_t | rax |
| struct x86_regs * | regs |
| void * | fpu_context |
| int | fpu_enabled |
| void* x86_thread::fpu_context |
Definition at line 35 of file arch.h.
Referenced by arch_proc_fork(), arch_thread_kill(), x86_fpu_load_from(), x86_fpu_save_to(), x86_fpu_switch_out(), and x86_fpu_trap().
| int x86_thread::fpu_enabled |
Definition at line 37 of file arch.h.
Referenced by arch_proc_fork(), x86_fpu_load_from(), x86_fpu_reset(), x86_fpu_save_to(), and x86_fpu_trap().
| uintptr_t x86_thread::kstack |
Definition at line 17 of file arch.h.
Referenced by arch_kthread_create(), arch_proc_fork(), arch_proc_init(), arch_thread_create(), arch_thread_spawn(), and arch_thread_switch().
| uintptr_t x86_thread::kstack_base |
Definition at line 18 of file arch.h.
Referenced by arch_kthread_create(), arch_proc_fork(), arch_proc_init(), arch_thread_create(), and arch_thread_kill().
| uintptr_t x86_thread::rax |
Definition at line 31 of file arch.h.
Referenced by arch_syscall_return(), and thread_spawn().
| uintptr_t x86_thread::rbp |
Definition at line 29 of file arch.h.
Referenced by arch_kthread_create(), arch_thread_switch(), and x86_thread_saved().
| struct x86_regs* x86_thread::regs |
Definition at line 34 of file arch.h.
Referenced by __x86_isr(), arch_proc_fork(), arch_sigreturn(), arch_syscall_return(), and isr_dispatch().
| uintptr_t x86_thread::rflags |
Definition at line 30 of file arch.h.
Referenced by arch_exec_start(), arch_kthread_create(), arch_proc_fork(), arch_proc_init(), arch_thread_create(), and thread_spawn().
| uintptr_t x86_thread::rip |
Definition at line 27 of file arch.h.
Referenced by arch_exec_start(), arch_kthread_create(), arch_proc_fork(), arch_proc_init(), arch_thread_create(), arch_thread_switch(), thread_spawn(), and x86_thread_saved().
| uintptr_t x86_thread::rsp |
Definition at line 28 of file arch.h.
Referenced by arch_exec_start(), arch_kthread_create(), arch_proc_fork(), arch_proc_init(), arch_thread_create(), arch_thread_switch(), thread_spawn(), and x86_thread_saved().