MOS Source Code
Loading...
Searching...
No Matches
platform_regs_t Struct Reference

#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
 

Detailed Description

Definition at line 8 of file cpu.h.

Member Data Documentation

◆ ra

reg_t ra

Definition at line 10 of file cpu.h.

Referenced by platform_dump_regs(), and platform_jump_to_signal_handler().

◆ sp

◆ gp

reg_t gp

Definition at line 10 of file cpu.h.

Referenced by platform_context_setup_child_thread(), and platform_dump_regs().

◆ tp

reg_t tp

Definition at line 10 of file cpu.h.

Referenced by platform_arch_syscall(), and platform_dump_regs().

◆ t0

reg_t t0

Definition at line 11 of file cpu.h.

Referenced by platform_dump_regs().

◆ t1

reg_t t1

Definition at line 11 of file cpu.h.

Referenced by platform_dump_regs().

◆ t2

reg_t t2

Definition at line 11 of file cpu.h.

Referenced by platform_dump_regs().

◆ fp

reg_t fp

Definition at line 12 of file cpu.h.

Referenced by platform_dump_regs(), and platform_dump_stack().

◆ s1

reg_t s1

Definition at line 12 of file cpu.h.

Referenced by platform_dump_regs().

◆ a0

◆ a1

◆ a2

◆ a3

reg_t a3

Definition at line 13 of file cpu.h.

Referenced by platform_dump_regs(), and riscv64_trap_handler().

◆ a4

reg_t a4

Definition at line 13 of file cpu.h.

Referenced by platform_dump_regs(), and riscv64_trap_handler().

◆ a5

reg_t a5

Definition at line 13 of file cpu.h.

Referenced by platform_dump_regs(), and riscv64_trap_handler().

◆ a6

reg_t a6

Definition at line 13 of file cpu.h.

Referenced by platform_dump_regs().

◆ a7

◆ s2

reg_t s2

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s3

reg_t s3

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s4

reg_t s4

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s5

reg_t s5

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s6

reg_t s6

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s7

reg_t s7

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s8

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s9

reg_t s9

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s10

reg_t s10

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ s11

reg_t s11

Definition at line 14 of file cpu.h.

Referenced by platform_dump_regs().

◆ t3

reg_t t3

Definition at line 15 of file cpu.h.

Referenced by platform_dump_regs().

◆ t4

reg_t t4

Definition at line 15 of file cpu.h.

Referenced by platform_dump_regs().

◆ t5

reg_t t5

Definition at line 15 of file cpu.h.

Referenced by platform_dump_regs().

◆ t6

reg_t t6

Definition at line 15 of file cpu.h.

Referenced by platform_dump_regs().

◆ sstatus

reg_t sstatus

Definition at line 18 of file cpu.h.

Referenced by riscv64_trap_handler().

◆ sepc

◆ r15

reg_t r15

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ r14

reg_t r14

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ r13

reg_t r13

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ r12

reg_t r12

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ r11

reg_t r11

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ r10

reg_t r10

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ r9

reg_t r9

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs(), and x86_interrupt_entry().

◆ r8

reg_t r8

Definition at line 19 of file x86_platform.h.

Referenced by platform_dump_regs().

◆ di

◆ si

◆ bp

reg_t bp

Definition at line 20 of file x86_platform.h.

Referenced by platform_dump_regs(), and platform_dump_stack().

◆ dx

◆ cx

reg_t cx

Definition at line 20 of file x86_platform.h.

Referenced by platform_dump_regs(), and x86_interrupt_entry().

◆ bx

reg_t bx

Definition at line 20 of file x86_platform.h.

Referenced by platform_dump_regs(), and x86_interrupt_entry().

◆ ax

◆ interrupt_number

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().

◆ error_code

reg_t error_code

Definition at line 21 of file x86_platform.h.

Referenced by x86_handle_exception().

◆ ip

◆ cs

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().

◆ eflags

reg_t eflags

◆ ss

reg_t ss

Definition at line 25 of file x86_platform.h.

Referenced by platform_dump_regs(), and x86_setup_thread_common().


The documentation for this struct was generated from the following files: