KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
irq_context_t Struct Reference

Architecture-specific structure for holding the processor state. More...

#include <irq.h>

Data Fields

uint32_t pc
 Program counter.
 
uint32_t pr
 Procedure register (aka return address)
 
uint32_t gbr
 Global base register (TLS segment ptr)
 
uint32_t vbr
 Vector base register.
 
uint32_t mach
 Multiply-and-accumulate register (high)
 
uint32_t macl
 Multiply-and-accumulate register (low)
 
uint32_t sr
 Status register.
 
uint32_t fpul
 Floating-point communication register.
 
uint32_t fr [16]
 Primary floating point registers.
 
uint32_t frbank [16]
 Secondary floating point registers.
 
uint32_t r [16]
 16 general purpose (integer) registers
 
uint32_t fpscr
 Floating-point status/control register.
 

Detailed Description

Architecture-specific structure for holding the processor state.

This structure should hold register values and other important parts of the processor state.

Note
The size of this structure should be less than or equal to the REG_BYTE_CNT value.

Field Documentation

◆ fpscr

uint32_t irq_context_t::fpscr

Floating-point status/control register.

◆ fpul

uint32_t irq_context_t::fpul

Floating-point communication register.

◆ fr

uint32_t irq_context_t::fr[16]

Primary floating point registers.

◆ frbank

uint32_t irq_context_t::frbank[16]

Secondary floating point registers.

◆ gbr

uint32_t irq_context_t::gbr

Global base register (TLS segment ptr)

◆ mach

uint32_t irq_context_t::mach

Multiply-and-accumulate register (high)

◆ macl

uint32_t irq_context_t::macl

Multiply-and-accumulate register (low)

◆ pc

uint32_t irq_context_t::pc

Program counter.

◆ pr

uint32_t irq_context_t::pr

Procedure register (aka return address)

◆ r

uint32_t irq_context_t::r[16]

16 general purpose (integer) registers

◆ sr

uint32_t irq_context_t::sr

Status register.

◆ vbr

uint32_t irq_context_t::vbr

Vector base register.


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