sh_cpu Struct Reference

Back to the index.

Public Attributes | List of all members
sh_cpu Struct Reference

#include <cpu_sh.h>

Public Attributes

struct sh_cpu_type_def cpu_type
 
uint32_t r [SH_N_GPRS]
 
uint32_t r_bank [SH_N_GPRS_BANKED]
 
uint32_t fr [SH_N_FPRS]
 
uint32_t xf [SH_N_FPRS]
 
uint32_t mach
 
uint32_t macl
 
uint32_t pr
 
uint32_t fpscr
 
uint32_t fpul
 
uint32_t sr
 
uint32_t ssr
 
uint32_t spc
 
uint32_t gbr
 
uint32_t vbr
 
uint32_t sgr
 
uint32_t dbr
 
uint32_t ccr
 
uint32_t qacr0
 
uint32_t qacr1
 
uint32_t pteh
 
uint32_t ptel
 
uint32_t ptea
 
uint32_t ttb
 
uint32_t tea
 
uint32_t mmucr
 
uint32_t itlb_hi [SH_N_ITLB_ENTRIES]
 
uint32_t itlb_lo [SH_N_ITLB_ENTRIES]
 
uint32_t utlb_hi [SH_N_UTLB_ENTRIES]
 
uint32_t utlb_lo [SH_N_UTLB_ENTRIES]
 
uint32_t tra
 
uint32_t expevt
 
uint32_t intevt
 
uint16_t intc_ipra
 
uint16_t intc_iprb
 
uint16_t intc_iprc
 
uint16_t intc_iprd
 
uint32_t intc_intpri00
 
uint32_t intc_intpri04
 
uint32_t intc_intpri08
 
uint32_t intc_intpri0c
 
uint32_t intc_intreq00
 
uint32_t intc_intreq04
 
uint32_t intc_intmsk00
 
uint32_t intc_intmsk04
 
uint8_t int_prio_and_pending [0x1000/0x20]
 
int16_t int_to_assert
 
unsigned int int_level
 
int pclock
 
uint32_t dmac_sar [N_SH4_DMA_CHANNELS]
 
uint32_t dmac_dar [N_SH4_DMA_CHANNELS]
 
uint32_t dmac_tcr [N_SH4_DMA_CHANNELS]
 
uint32_t dmac_chcr [N_SH4_DMA_CHANNELS]
 
uint32_t dmaor
 
struct pci_data * pcic_pcibus
 

Detailed Description

Definition at line 96 of file cpu_sh.h.

Member Data Documentation

◆ ccr

uint32_t sh_cpu::ccr

Definition at line 121 of file cpu_sh.h.

Referenced by DEVICE_ACCESS().

◆ cpu_type

struct sh_cpu_type_def sh_cpu::cpu_type

Definition at line 58 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and emul_machine_setup().

◆ dbr

uint32_t sh_cpu::dbr

Definition at line 118 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and X().

◆ dmac_chcr

uint32_t sh_cpu::dmac_chcr[N_SH4_DMA_CHANNELS]

Definition at line 167 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), pvr_dma_transfer(), and sh4_dmac_transfer().

◆ dmac_dar

uint32_t sh_cpu::dmac_dar[N_SH4_DMA_CHANNELS]

Definition at line 165 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), pvr_dma_transfer(), and sh4_dmac_transfer().

◆ dmac_sar

uint32_t sh_cpu::dmac_sar[N_SH4_DMA_CHANNELS]

Definition at line 164 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), pvr_dma_transfer(), and sh4_dmac_transfer().

◆ dmac_tcr

uint32_t sh_cpu::dmac_tcr[N_SH4_DMA_CHANNELS]

Definition at line 166 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), pvr_dma_transfer(), and sh4_dmac_transfer().

◆ dmaor

uint32_t sh_cpu::dmaor

Definition at line 168 of file cpu_sh.h.

Referenced by DEVICE_ACCESS().

◆ expevt

uint32_t sh_cpu::expevt

Definition at line 139 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_cpu_register_dump(), sh_exception(), and sh_ipl_g_emul().

◆ fpscr

uint32_t sh_cpu::fpscr

Definition at line 110 of file cpu_sh.h.

Referenced by sh_cpu_disassemble_instr(), sh_cpu_register_dump(), sh_update_fpscr(), and X().

◆ fpul

uint32_t sh_cpu::fpul

Definition at line 111 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and X().

◆ fr

uint32_t sh_cpu::fr[SH_N_FPRS]

Definition at line 104 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_update_fpscr(), and X().

◆ gbr

uint32_t sh_cpu::gbr

Definition at line 115 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and X().

◆ int_level

unsigned int sh_cpu::int_level

Definition at line 158 of file cpu_sh.h.

Referenced by sh_cpu_interrupt_assert(), sh_cpu_interrupt_deassert(), and X().

◆ int_prio_and_pending

uint8_t sh_cpu::int_prio_and_pending[0x1000/0x20]

◆ int_to_assert

int16_t sh_cpu::int_to_assert

Definition at line 157 of file cpu_sh.h.

Referenced by sh_cpu_interrupt_assert(), sh_cpu_interrupt_deassert(), and X().

◆ intc_intmsk00

uint32_t sh_cpu::intc_intmsk00

Definition at line 153 of file cpu_sh.h.

◆ intc_intmsk04

uint32_t sh_cpu::intc_intmsk04

Definition at line 154 of file cpu_sh.h.

◆ intc_intpri00

uint32_t sh_cpu::intc_intpri00

Definition at line 147 of file cpu_sh.h.

◆ intc_intpri04

uint32_t sh_cpu::intc_intpri04

Definition at line 148 of file cpu_sh.h.

◆ intc_intpri08

uint32_t sh_cpu::intc_intpri08

Definition at line 149 of file cpu_sh.h.

Referenced by sh_update_interrupt_priorities().

◆ intc_intpri0c

uint32_t sh_cpu::intc_intpri0c

Definition at line 150 of file cpu_sh.h.

◆ intc_intreq00

uint32_t sh_cpu::intc_intreq00

Definition at line 151 of file cpu_sh.h.

◆ intc_intreq04

uint32_t sh_cpu::intc_intreq04

Definition at line 152 of file cpu_sh.h.

◆ intc_ipra

uint16_t sh_cpu::intc_ipra

Definition at line 143 of file cpu_sh.h.

Referenced by sh_update_interrupt_priorities().

◆ intc_iprb

uint16_t sh_cpu::intc_iprb

Definition at line 144 of file cpu_sh.h.

◆ intc_iprc

uint16_t sh_cpu::intc_iprc

Definition at line 145 of file cpu_sh.h.

◆ intc_iprd

uint16_t sh_cpu::intc_iprd

Definition at line 146 of file cpu_sh.h.

◆ intevt

uint32_t sh_cpu::intevt

Definition at line 140 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_cpu_register_dump(), and sh_exception().

◆ itlb_hi

uint32_t sh_cpu::itlb_hi[SH_N_ITLB_ENTRIES]

Definition at line 132 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and sh_cpu_tlbdump().

◆ itlb_lo

uint32_t sh_cpu::itlb_lo[SH_N_ITLB_ENTRIES]

Definition at line 133 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and sh_cpu_tlbdump().

◆ mach

uint32_t sh_cpu::mach

Definition at line 107 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and X().

◆ macl

uint32_t sh_cpu::macl

Definition at line 108 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and X().

◆ mmucr

uint32_t sh_cpu::mmucr

Definition at line 131 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_translate_v2p(), and X().

◆ pcic_pcibus

struct pci_data* sh_cpu::pcic_pcibus

Definition at line 171 of file cpu_sh.h.

Referenced by MACHINE_SETUP().

◆ pclock

int sh_cpu::pclock

Definition at line 161 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and MACHINE_SETUP().

◆ pr

uint32_t sh_cpu::pr

Definition at line 109 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and X().

◆ ptea

uint32_t sh_cpu::ptea

Definition at line 128 of file cpu_sh.h.

Referenced by DEVICE_ACCESS().

◆ pteh

uint32_t sh_cpu::pteh

Definition at line 126 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_exception(), and X().

◆ ptel

uint32_t sh_cpu::ptel

Definition at line 127 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and X().

◆ qacr0

uint32_t sh_cpu::qacr0

Definition at line 122 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and X().

◆ qacr1

uint32_t sh_cpu::qacr1

Definition at line 123 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and X().

◆ r

uint32_t sh_cpu::r[SH_N_GPRS]

◆ r_bank

uint32_t sh_cpu::r_bank[SH_N_GPRS_BANKED]

Definition at line 101 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_update_sr(), and X().

◆ sgr

uint32_t sh_cpu::sgr

Definition at line 117 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), and sh_exception().

◆ spc

uint32_t sh_cpu::spc

Definition at line 114 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_exception(), and X().

◆ sr

uint32_t sh_cpu::sr

Definition at line 112 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_exception(), sh_translate_v2p(), sh_update_sr(), and X().

◆ ssr

uint32_t sh_cpu::ssr

Definition at line 113 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_exception(), and X().

◆ tea

uint32_t sh_cpu::tea

Definition at line 130 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), and sh_exception().

◆ tra

uint32_t sh_cpu::tra

Definition at line 138 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_cpu_register_dump(), sh_ipl_g_emul(), and X().

◆ ttb

uint32_t sh_cpu::ttb

Definition at line 129 of file cpu_sh.h.

Referenced by DEVICE_ACCESS().

◆ utlb_hi

uint32_t sh_cpu::utlb_hi[SH_N_UTLB_ENTRIES]

Definition at line 134 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_cpu_tlbdump(), and X().

◆ utlb_lo

uint32_t sh_cpu::utlb_lo[SH_N_UTLB_ENTRIES]

Definition at line 135 of file cpu_sh.h.

Referenced by DEVICE_ACCESS(), sh_cpu_tlbdump(), and X().

◆ vbr

uint32_t sh_cpu::vbr

Definition at line 116 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_exception(), sh_ipl_g_emul_init(), and X().

◆ xf

uint32_t sh_cpu::xf[SH_N_FPRS]

Definition at line 105 of file cpu_sh.h.

Referenced by sh_cpu_register_dump(), sh_update_fpscr(), and X().


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

Generated on Tue Aug 25 2020 19:25:06 for GXemul by doxygen 1.8.18