![]() |
MOS Source Code
|
#include <platform_defs.hpp>
Public Member Functions | |
| platform_regs_t () | |
| platform_regs_t (const platform_regs_t *regs) | |
| platform_regs_t () | |
| platform_regs_t (const platform_regs_t *regs) | |
Public Attributes | |
| reg_t | ra |
| reg_t | sp |
| reg_t | gp |
| reg_t | tp |
| reg_t | t0 |
| reg_t | t1 |
| reg_t | t2 |
| reg_t | fp |
| reg_t | s1 |
| reg_t | a0 |
| reg_t | a1 |
| reg_t | a2 |
| reg_t | a3 |
| reg_t | a4 |
| reg_t | a5 |
| reg_t | a6 |
| reg_t | a7 |
| reg_t | s2 |
| reg_t | s3 |
| reg_t | s4 |
| reg_t | s5 |
| reg_t | s6 |
| reg_t | s7 |
| reg_t | s8 |
| reg_t | s9 |
| reg_t | s10 |
| reg_t | s11 |
| reg_t | t3 |
| reg_t | t4 |
| reg_t | t5 |
| reg_t | t6 |
| reg_t | sstatus |
| reg_t | sepc |
| reg_t | r15 |
| reg_t | r14 |
| reg_t | r13 |
| reg_t | r12 |
| reg_t | r11 |
| reg_t | r10 |
| reg_t | r9 |
| reg_t | r8 |
| reg_t | di |
| reg_t | si |
| reg_t | bp |
| reg_t | dx |
| reg_t | cx |
| reg_t | bx |
| reg_t | ax |
| reg_t | interrupt_number |
| reg_t | error_code |
| reg_t | ip |
| reg_t | cs |
| reg_t | eflags |
| reg_t | ss |
Additional Inherited Members | |
| Static Public Attributes inherited from NamedType<"Platform.Registers"> | |
| static constexpr mos::string_view | type_name |
Definition at line 52 of file platform_defs.hpp.
|
inline |
Definition at line 54 of file platform_defs.hpp.
Referenced by platform_regs_t().
|
inline |
|
inline |
Definition at line 21 of file x86_platform.hpp.
|
inline |
| reg_t ra |
Definition at line 64 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t sp |
Definition at line 64 of file platform_defs.hpp.
Referenced by platform_context_clone(), platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_dump_regs(), platform_setup_signal_handler_regs(), and x86_setup_thread_common().
| reg_t gp |
Definition at line 64 of file platform_defs.hpp.
Referenced by platform_context_setup_child_thread(), and platform_dump_regs().
| reg_t tp |
Definition at line 64 of file platform_defs.hpp.
Referenced by platform_arch_syscall(), and platform_dump_regs().
| reg_t t0 |
Definition at line 65 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t t1 |
Definition at line 65 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t t2 |
Definition at line 65 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t fp |
Definition at line 66 of file platform_defs.hpp.
Referenced by platform_dump_regs(), and platform_dump_stack().
| reg_t s1 |
Definition at line 66 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t a0 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_context_clone(), platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_syscall_store_retval(), riscv64_start_kernel_thread(), and riscv64_trap_handler().
| reg_t a1 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and riscv64_trap_handler().
| reg_t a2 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and riscv64_trap_handler().
| reg_t a3 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_dump_regs(), and riscv64_trap_handler().
| reg_t a4 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_dump_regs(), and riscv64_trap_handler().
| reg_t a5 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_dump_regs(), and riscv64_trap_handler().
| reg_t a6 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t a7 |
Definition at line 67 of file platform_defs.hpp.
Referenced by platform_dump_regs(), platform_syscall_setup_restart_context(), and riscv64_trap_handler().
| reg_t s2 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s3 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s4 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s5 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s6 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s7 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s9 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s10 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t s11 |
Definition at line 68 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t t3 |
Definition at line 69 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t t4 |
Definition at line 69 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t t5 |
Definition at line 69 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t t6 |
Definition at line 69 of file platform_defs.hpp.
Referenced by platform_dump_regs().
| reg_t sstatus |
Definition at line 72 of file platform_defs.hpp.
Referenced by riscv64_trap_handler().
| reg_t sepc |
Definition at line 72 of file platform_defs.hpp.
Referenced by platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_return_to_userspace(), platform_syscall_setup_restart_context(), riscv64_start_kernel_thread(), and riscv64_trap_handler().
| reg_t r15 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t r14 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t r13 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t r12 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t r11 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t r10 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t r9 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs(), and x86_interrupt_entry().
| reg_t r8 |
Definition at line 31 of file x86_platform.hpp.
Referenced by platform_dump_regs().
| reg_t di |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), x86_interrupt_entry(), and x86_start_kernel_thread().
| reg_t si |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and x86_interrupt_entry().
| reg_t bp |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_dump_regs(), and platform_dump_stack().
| reg_t dx |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and x86_interrupt_entry().
| reg_t cx |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_dump_regs(), and x86_interrupt_entry().
| reg_t bx |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_dump_regs(), and x86_interrupt_entry().
| reg_t ax |
Definition at line 32 of file x86_platform.hpp.
Referenced by platform_context_clone(), platform_dump_regs(), platform_syscall_setup_restart_context(), platform_syscall_store_retval(), and x86_interrupt_entry().
| reg_t interrupt_number |
Definition at line 33 of file x86_platform.hpp.
Referenced by x86_handle_exception(), x86_handle_irq(), and x86_interrupt_entry().
| reg_t error_code |
Definition at line 33 of file x86_platform.hpp.
Referenced by x86_handle_exception().
| reg_t ip |
Definition at line 35 of file x86_platform.hpp.
Referenced by platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_syscall_setup_restart_context(), x86_handle_exception(), and x86_start_kernel_thread().
| reg_t cs |
Definition at line 35 of file x86_platform.hpp.
Referenced by platform_dump_regs(), x86_interrupt_entry(), and x86_setup_thread_common().
| reg_t eflags |
Definition at line 36 of file x86_platform.hpp.
Referenced by platform_arch_syscall(), platform_dump_regs(), and x86_setup_thread_common().
| reg_t ss |
Definition at line 37 of file x86_platform.hpp.
Referenced by platform_dump_regs(), and x86_setup_thread_common().