MOS Source Code
|
#include <cpu.h>
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 |
reg_t ra |
Definition at line 10 of file cpu.h.
Referenced by platform_dump_regs(), and platform_jump_to_signal_handler().
reg_t sp |
Definition at line 10 of file cpu.h.
Referenced by platform_context_clone(), platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_dump_regs(), platform_jump_to_signal_handler(), and x86_setup_thread_common().
reg_t gp |
Definition at line 10 of file cpu.h.
Referenced by platform_context_setup_child_thread(), and platform_dump_regs().
reg_t tp |
Definition at line 10 of file cpu.h.
Referenced by platform_arch_syscall(), and platform_dump_regs().
reg_t t0 |
Definition at line 11 of file cpu.h.
Referenced by platform_dump_regs().
reg_t t1 |
Definition at line 11 of file cpu.h.
Referenced by platform_dump_regs().
reg_t t2 |
Definition at line 11 of file cpu.h.
Referenced by platform_dump_regs().
reg_t fp |
Definition at line 12 of file cpu.h.
Referenced by platform_dump_regs(), and platform_dump_stack().
reg_t s1 |
Definition at line 12 of file cpu.h.
Referenced by platform_dump_regs().
reg_t a0 |
Definition at line 13 of file cpu.h.
Referenced by platform_context_clone(), platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_jump_to_signal_handler(), platform_syscall_store_retval(), riscv64_start_kernel_thread(), and riscv64_trap_handler().
reg_t a1 |
Definition at line 13 of file cpu.h.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and riscv64_trap_handler().
reg_t a2 |
Definition at line 13 of file cpu.h.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and riscv64_trap_handler().
reg_t a3 |
Definition at line 13 of file cpu.h.
Referenced by platform_dump_regs(), and riscv64_trap_handler().
reg_t a4 |
Definition at line 13 of file cpu.h.
Referenced by platform_dump_regs(), and riscv64_trap_handler().
reg_t a5 |
Definition at line 13 of file cpu.h.
Referenced by platform_dump_regs(), and riscv64_trap_handler().
reg_t a6 |
Definition at line 13 of file cpu.h.
Referenced by platform_dump_regs().
reg_t a7 |
Definition at line 13 of file cpu.h.
Referenced by platform_dump_regs(), platform_syscall_setup_restart_context(), and riscv64_trap_handler().
reg_t s2 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s3 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s4 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s5 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s6 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s7 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s9 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s10 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t s11 |
Definition at line 14 of file cpu.h.
Referenced by platform_dump_regs().
reg_t t3 |
Definition at line 15 of file cpu.h.
Referenced by platform_dump_regs().
reg_t t4 |
Definition at line 15 of file cpu.h.
Referenced by platform_dump_regs().
reg_t t5 |
Definition at line 15 of file cpu.h.
Referenced by platform_dump_regs().
reg_t t6 |
Definition at line 15 of file cpu.h.
Referenced by platform_dump_regs().
reg_t sstatus |
Definition at line 18 of file cpu.h.
Referenced by riscv64_trap_handler().
reg_t sepc |
Definition at line 18 of file cpu.h.
Referenced by platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_jump_to_signal_handler(), platform_return_to_userspace(), platform_syscall_setup_restart_context(), riscv64_start_kernel_thread(), and riscv64_trap_handler().
reg_t r15 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t r14 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t r13 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t r12 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t r11 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t r10 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t r9 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs(), and x86_interrupt_entry().
reg_t r8 |
Definition at line 19 of file x86_platform.h.
Referenced by platform_dump_regs().
reg_t di |
Definition at line 20 of file x86_platform.h.
Referenced by platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_jump_to_signal_handler(), x86_interrupt_entry(), and x86_start_kernel_thread().
reg_t si |
Definition at line 20 of file x86_platform.h.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and x86_interrupt_entry().
reg_t bp |
Definition at line 20 of file x86_platform.h.
Referenced by platform_dump_regs(), and platform_dump_stack().
reg_t dx |
Definition at line 20 of file x86_platform.h.
Referenced by platform_context_setup_main_thread(), platform_dump_regs(), and x86_interrupt_entry().
reg_t cx |
Definition at line 20 of file x86_platform.h.
Referenced by platform_dump_regs(), and x86_interrupt_entry().
reg_t bx |
Definition at line 20 of file x86_platform.h.
Referenced by platform_dump_regs(), and x86_interrupt_entry().
reg_t ax |
Definition at line 20 of file x86_platform.h.
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 21 of file x86_platform.h.
Referenced by x86_handle_exception(), x86_handle_irq(), and x86_interrupt_entry().
reg_t error_code |
Definition at line 21 of file x86_platform.h.
Referenced by x86_handle_exception().
reg_t ip |
Definition at line 23 of file x86_platform.h.
Referenced by platform_context_setup_child_thread(), platform_context_setup_main_thread(), platform_dump_regs(), platform_jump_to_signal_handler(), platform_syscall_setup_restart_context(), x86_handle_exception(), and x86_start_kernel_thread().
reg_t cs |
Definition at line 23 of file x86_platform.h.
Referenced by platform_dump_regs(), x86_interrupt_entry(), and x86_setup_thread_common().
reg_t eflags |
Definition at line 24 of file x86_platform.h.
Referenced by platform_arch_syscall(), platform_dump_regs(), and x86_setup_thread_common().
reg_t ss |
Definition at line 25 of file x86_platform.h.
Referenced by platform_dump_regs(), and x86_setup_thread_common().