cpu_m88k.h File Reference

Back to the index.

Classes | Macros | Functions
cpu_m88k.h File Reference
#include "misc.h"
#include "interrupt.h"
#include "thirdparty/m88k_psl.h"

Go to the source code of this file.

Classes

struct  m88k_cpu_type_def
 
struct  m8820x_cmmu
 
struct  m88k_cpu
 

Macros

#define M88K_PID(arn, vn)   ((arn << M88K_ARN_SHIFT) | (vn << M88K_VN_SHIFT))
 
#define M88K_CPU_TYPE_DEFS
 
#define N_M88K_CONTROL_REGS   64
 
#define M88K_CR_NAMES
 
#define M88K_CR_PID   0
 
#define M88K_CR_PSR   1
 
#define M88K_CR_EPSR   2
 
#define M88K_CR_SSBR   3
 
#define M88K_CR_SXIP   4
 
#define M88K_CR_SNIP   5
 
#define M88K_CR_SFIP   6
 
#define M88K_CR_VBR   7
 
#define M88K_CR_DMT0   8
 
#define M88K_CR_DMD0   9
 
#define M88K_CR_DMA0   10
 
#define M88K_CR_DMT1   11
 
#define M88K_CR_DMD1   12
 
#define M88K_CR_DMA1   13
 
#define M88K_CR_DMT2   14
 
#define M88K_CR_DMD2   15
 
#define M88K_CR_DMA2   16
 
#define M88K_CR_SR0   17
 
#define M88K_CR_SR1   18
 
#define M88K_CR_SR2   19
 
#define M88K_CR_SR3   20
 
#define M88K_CR_NAMES_197
 
#define M88K_CR_EXIP   4
 
#define M88K_CR_ENIP   5
 
#define M88K_CR_SRX   16
 
#define M88K_CR_ICMD   25
 
#define M88K_CR_ICTL   26
 
#define M88K_CR_ISAR   27
 
#define M88K_CR_ISAP   28
 
#define M88K_CR_IUAP   29
 
#define M88K_CR_IIR   30
 
#define M88K_CR_IBP   31
 
#define M88K_CR_IPPU   32
 
#define M88K_CR_IPPL   33
 
#define M88K_CR_ISR   34
 
#define M88K_CR_ILAR   35
 
#define M88K_CR_IPAR   36
 
#define M88K_CR_DCMD   40
 
#define M88K_CR_DCTL   41
 
#define M88K_CR_DSAR   42
 
#define M88K_CR_DSAP   43
 
#define M88K_CR_DUAP   44
 
#define M88K_CR_DIR   45
 
#define M88K_CR_DBP   46
 
#define M88K_CR_DPPU   47
 
#define M88K_CR_DPPL   48
 
#define M88K_CR_DSR   49
 
#define M88K_CR_DLAR   50
 
#define M88K_CR_DPAR   51
 
#define N_M88K_FPU_CONTROL_REGS   64
 
#define M88K_FPCR_FPECR   0
 
#define M88K_FPECR_FDVZ   (1 << 3)
 
#define M88K_FPECR_FUNIMP   (1 << 6)
 
#define M88K_N_IC_ARGS   3
 
#define M88K_INSTR_ALIGNMENT_SHIFT   2
 
#define M88K_IC_ENTRIES_SHIFT   10
 
#define M88K_IC_ENTRIES_PER_PAGE   (1 << M88K_IC_ENTRIES_SHIFT)
 
#define M88K_PC_TO_IC_ENTRY(a)
 
#define M88K_ADDR_TO_PAGENR(a)
 
#define M88K_MAX_VPH_TLB_ENTRIES   128
 
#define N_M88K_REGS   32
 
#define M88K_ZERO_REG   0
 
#define M88K_RETURN_REG   1
 
#define M88K_CMP_HS   0x00000800
 
#define M88K_CMP_LO   0x00000400
 
#define M88K_CMP_LS   0x00000200
 
#define M88K_CMP_HI   0x00000100
 
#define M88K_CMP_GE   0x00000080
 
#define M88K_CMP_LT   0x00000040
 
#define M88K_CMP_LE   0x00000020
 
#define M88K_CMP_GT   0x00000010
 
#define M88K_CMP_NE   0x00000008
 
#define M88K_CMP_EQ   0x00000004
 
#define M88K_EXCEPTION_RESET   0
 
#define M88K_EXCEPTION_INTERRUPT   1
 
#define M88K_EXCEPTION_INSTRUCTION_ACCESS   2
 
#define M88K_EXCEPTION_DATA_ACCESS   3
 
#define M88K_EXCEPTION_MISALIGNED_ACCESS   4
 
#define M88K_EXCEPTION_UNIMPLEMENTED_OPCODE   5
 
#define M88K_EXCEPTION_PRIVILEGE_VIOLATION   6
 
#define M88K_EXCEPTION_BOUNDS_CHECK_VIOLATION   7
 
#define M88K_EXCEPTION_ILLEGAL_INTEGER_DIVIDE   8
 
#define M88K_EXCEPTION_INTEGER_OVERFLOW   9
 
#define M88K_EXCEPTION_ERROR   10
 
#define M88K_EXCEPTION_SFU1_PRECISE   114
 
#define M88K_EXCEPTION_SFU1_IMPRECISE   115
 
#define M88K_EXCEPTION_USER_TRAPS_START   128
 
#define M88K_PROM_INSTR   0xf400fc92
 
#define MAX_M8820X_CMMUS   8
 
#define M8820X_LENGTH   0x1000
 
#define N_M88200_BATC_REGS   10
 
#define N_M88200_PATC_ENTRIES   56
 
#define M8820X_PATC_SUPERVISOR_BIT   0x00000001
 

Functions

int m88k_cpu_instruction_has_delayslot (struct cpu *cpu, unsigned char *ib)
 
int m88k_run_instr (struct cpu *cpu)
 
void m88k_update_translation_table (struct cpu *cpu, uint64_t vaddr_page, unsigned char *host_page, int writeflag, uint64_t paddr_page)
 
void m88k_invalidate_translation_caches (struct cpu *cpu, uint64_t, int)
 
void m88k_invalidate_code_translation (struct cpu *cpu, uint64_t, int)
 
int m88k_memory_rw (struct cpu *cpu, struct memory *mem, uint64_t vaddr, unsigned char *data, size_t len, int writeflag, int cache_flags)
 
int m88k_cpu_family_init (struct cpu_family *)
 
void m88k_ldcr (struct cpu *cpu, uint32_t *r32ptr, int cr)
 
void m88k_stcr (struct cpu *cpu, uint32_t value, int cr, int rte)
 
void m88k_fstcr (struct cpu *cpu, uint32_t value, int fcr)
 
void m88k_exception (struct cpu *cpu, int vector, int is_trap)
 
int m88k_translate_v2p (struct cpu *cpu, uint64_t vaddr, uint64_t *return_addr, int flags)
 

Macro Definition Documentation

◆ M8820X_LENGTH

#define M8820X_LENGTH   0x1000

Definition at line 211 of file cpu_m88k.h.

◆ M8820X_PATC_SUPERVISOR_BIT

#define M8820X_PATC_SUPERVISOR_BIT   0x00000001

Definition at line 214 of file cpu_m88k.h.

◆ M88K_ADDR_TO_PAGENR

#define M88K_ADDR_TO_PAGENR (   a)
Value:
#define M88K_IC_ENTRIES_SHIFT
Definition: cpu_m88k.h:157
#define M88K_INSTR_ALIGNMENT_SHIFT
Definition: cpu_m88k.h:156

Definition at line 161 of file cpu_m88k.h.

◆ M88K_CMP_EQ

#define M88K_CMP_EQ   0x00000004

Definition at line 184 of file cpu_m88k.h.

◆ M88K_CMP_GE

#define M88K_CMP_GE   0x00000080

Definition at line 179 of file cpu_m88k.h.

◆ M88K_CMP_GT

#define M88K_CMP_GT   0x00000010

Definition at line 182 of file cpu_m88k.h.

◆ M88K_CMP_HI

#define M88K_CMP_HI   0x00000100

Definition at line 178 of file cpu_m88k.h.

◆ M88K_CMP_HS

#define M88K_CMP_HS   0x00000800

Definition at line 175 of file cpu_m88k.h.

◆ M88K_CMP_LE

#define M88K_CMP_LE   0x00000020

Definition at line 181 of file cpu_m88k.h.

◆ M88K_CMP_LO

#define M88K_CMP_LO   0x00000400

Definition at line 176 of file cpu_m88k.h.

◆ M88K_CMP_LS

#define M88K_CMP_LS   0x00000200

Definition at line 177 of file cpu_m88k.h.

◆ M88K_CMP_LT

#define M88K_CMP_LT   0x00000040

Definition at line 180 of file cpu_m88k.h.

◆ M88K_CMP_NE

#define M88K_CMP_NE   0x00000008

Definition at line 183 of file cpu_m88k.h.

◆ M88K_CPU_TYPE_DEFS

#define M88K_CPU_TYPE_DEFS
Value:
{ \
{ "88100", 88100, M88K_PID(M88K_ARN_88100,3) }, \
{ "88110", 88110, M88K_PID(M88K_ARN_88110,0) }, \
{ NULL, 0, 0 } \
}
#define M88K_PID(arn, vn)
Definition: cpu_m88k.h:49
#define M88K_ARN_88110
Definition: m88k_psl.h:61
#define M88K_ARN_88100
Definition: m88k_psl.h:60

Definition at line 51 of file cpu_m88k.h.

◆ M88K_CR_DBP

#define M88K_CR_DBP   46

Definition at line 139 of file cpu_m88k.h.

◆ M88K_CR_DCMD

#define M88K_CR_DCMD   40

Definition at line 133 of file cpu_m88k.h.

◆ M88K_CR_DCTL

#define M88K_CR_DCTL   41

Definition at line 134 of file cpu_m88k.h.

◆ M88K_CR_DIR

#define M88K_CR_DIR   45

Definition at line 138 of file cpu_m88k.h.

◆ M88K_CR_DLAR

#define M88K_CR_DLAR   50

Definition at line 143 of file cpu_m88k.h.

◆ M88K_CR_DMA0

#define M88K_CR_DMA0   10

Definition at line 87 of file cpu_m88k.h.

◆ M88K_CR_DMA1

#define M88K_CR_DMA1   13

Definition at line 90 of file cpu_m88k.h.

◆ M88K_CR_DMA2

#define M88K_CR_DMA2   16

Definition at line 93 of file cpu_m88k.h.

◆ M88K_CR_DMD0

#define M88K_CR_DMD0   9

Definition at line 86 of file cpu_m88k.h.

◆ M88K_CR_DMD1

#define M88K_CR_DMD1   12

Definition at line 89 of file cpu_m88k.h.

◆ M88K_CR_DMD2

#define M88K_CR_DMD2   15

Definition at line 92 of file cpu_m88k.h.

◆ M88K_CR_DMT0

#define M88K_CR_DMT0   8

Definition at line 85 of file cpu_m88k.h.

◆ M88K_CR_DMT1

#define M88K_CR_DMT1   11

Definition at line 88 of file cpu_m88k.h.

◆ M88K_CR_DMT2

#define M88K_CR_DMT2   14

Definition at line 91 of file cpu_m88k.h.

◆ M88K_CR_DPAR

#define M88K_CR_DPAR   51

Definition at line 144 of file cpu_m88k.h.

◆ M88K_CR_DPPL

#define M88K_CR_DPPL   48

Definition at line 141 of file cpu_m88k.h.

◆ M88K_CR_DPPU

#define M88K_CR_DPPU   47

Definition at line 140 of file cpu_m88k.h.

◆ M88K_CR_DSAP

#define M88K_CR_DSAP   43

Definition at line 136 of file cpu_m88k.h.

◆ M88K_CR_DSAR

#define M88K_CR_DSAR   42

Definition at line 135 of file cpu_m88k.h.

◆ M88K_CR_DSR

#define M88K_CR_DSR   49

Definition at line 142 of file cpu_m88k.h.

◆ M88K_CR_DUAP

#define M88K_CR_DUAP   44

Definition at line 137 of file cpu_m88k.h.

◆ M88K_CR_ENIP

#define M88K_CR_ENIP   5

Definition at line 119 of file cpu_m88k.h.

◆ M88K_CR_EPSR

#define M88K_CR_EPSR   2

Definition at line 79 of file cpu_m88k.h.

◆ M88K_CR_EXIP

#define M88K_CR_EXIP   4

Definition at line 118 of file cpu_m88k.h.

◆ M88K_CR_IBP

#define M88K_CR_IBP   31

Definition at line 127 of file cpu_m88k.h.

◆ M88K_CR_ICMD

#define M88K_CR_ICMD   25

Definition at line 121 of file cpu_m88k.h.

◆ M88K_CR_ICTL

#define M88K_CR_ICTL   26

Definition at line 122 of file cpu_m88k.h.

◆ M88K_CR_IIR

#define M88K_CR_IIR   30

Definition at line 126 of file cpu_m88k.h.

◆ M88K_CR_ILAR

#define M88K_CR_ILAR   35

Definition at line 131 of file cpu_m88k.h.

◆ M88K_CR_IPAR

#define M88K_CR_IPAR   36

Definition at line 132 of file cpu_m88k.h.

◆ M88K_CR_IPPL

#define M88K_CR_IPPL   33

Definition at line 129 of file cpu_m88k.h.

◆ M88K_CR_IPPU

#define M88K_CR_IPPU   32

Definition at line 128 of file cpu_m88k.h.

◆ M88K_CR_ISAP

#define M88K_CR_ISAP   28

Definition at line 124 of file cpu_m88k.h.

◆ M88K_CR_ISAR

#define M88K_CR_ISAR   27

Definition at line 123 of file cpu_m88k.h.

◆ M88K_CR_ISR

#define M88K_CR_ISR   34

Definition at line 130 of file cpu_m88k.h.

◆ M88K_CR_IUAP

#define M88K_CR_IUAP   29

Definition at line 125 of file cpu_m88k.h.

◆ M88K_CR_NAMES

#define M88K_CR_NAMES
Value:
{ \
"PID", "PSR", "EPSR", "SSBR", /* 0 .. 3 */ \
"SXIP", "SNIP", "SFIP", "VBR", /* 4 .. 7 */ \
"DMT0", "DMD0", "DMA0", "DMT1", /* 8 .. 11 */ \
"DMD1", "DMA1", "DMT2", "DMD2", /* 12 .. 15 */ \
"DMA2", "SR0", "SR1", "SR2", /* 16 .. 19 */ \
"SR3", "CR21", "CR22", "CR23", /* 20 .. 23 */ \
"CR24", "CR25", "CR26", "CR27", /* 24 .. 27 */ \
"CR28", "CR29", "CR30", "CR31", /* 28 .. 31 */ \
"CR32", "CR33", "CR34", "CR35", /* 32 .. 35 */ \
"CR36", "CR37", "CR38", "CR39", /* 36 .. 39 */ \
"CR40", "CR41", "CR42", "CR43", /* 40 .. 43 */ \
"CR44", "CR45", "CR46", "CR47", /* 44 .. 47 */ \
"CR48", "CR49", "CR50", "CR51", /* 48 .. 51 */ \
"CR52", "CR53", "CR54", "CR55", /* 52 .. 55 */ \
"CR56", "CR57", "CR58", "CR59", /* 56 .. 59 */ \
"CR60", "CR61", "CR62", "CR63" /* 60 .. 63 */ }

Definition at line 59 of file cpu_m88k.h.

◆ M88K_CR_NAMES_197

#define M88K_CR_NAMES_197
Value:
{ \
"PID", "PSR", "EPSR", "SSBR", /* 0 .. 3 */ \
"EXIP", "ENIP", "SFIP", "VBR", /* 4 .. 7 */ \
"DMT0", "DMD0", "DMA0", "DMT1", /* 8 .. 11 */ \
"DMD1", "DMA1", "DMT2", "DMD2", /* 12 .. 15 */ \
"SRX", "SR0", "SR1", "SR2", /* 16 .. 19 */ \
"SR3", "CR21", "CR22", "CR23", /* 20 .. 23 */ \
"CR24", "ICMD", "ICTL", "ISAR", /* 24 .. 27 */ \
"ISAP", "IUAP", "IIR", "IBP", /* 28 .. 31 */ \
"IPPU", "IPPL", "ISR", "ILAR", /* 32 .. 35 */ \
"IPAR", "CR37", "CR38", "CR39", /* 36 .. 39 */ \
"DCMD", "DCTL", "DSAR", "DSAP", /* 40 .. 43 */ \
"DUAP", "DIR", "DBP", "DPPU", /* 44 .. 47 */ \
"DPPL", "DSR", "DLAR", "DPAR", /* 48 .. 51 */ \
"CR52", "CR53", "CR54", "CR55", /* 52 .. 55 */ \
"CR56", "CR57", "CR58", "CR59", /* 56 .. 59 */ \
"CR60", "CR61", "CR62", "CR63" /* 60 .. 63 */ }

Definition at line 100 of file cpu_m88k.h.

◆ M88K_CR_PID

#define M88K_CR_PID   0

Definition at line 77 of file cpu_m88k.h.

◆ M88K_CR_PSR

#define M88K_CR_PSR   1

Definition at line 78 of file cpu_m88k.h.

◆ M88K_CR_SFIP

#define M88K_CR_SFIP   6

Definition at line 83 of file cpu_m88k.h.

◆ M88K_CR_SNIP

#define M88K_CR_SNIP   5

Definition at line 82 of file cpu_m88k.h.

◆ M88K_CR_SR0

#define M88K_CR_SR0   17

Definition at line 94 of file cpu_m88k.h.

◆ M88K_CR_SR1

#define M88K_CR_SR1   18

Definition at line 95 of file cpu_m88k.h.

◆ M88K_CR_SR2

#define M88K_CR_SR2   19

Definition at line 96 of file cpu_m88k.h.

◆ M88K_CR_SR3

#define M88K_CR_SR3   20

Definition at line 97 of file cpu_m88k.h.

◆ M88K_CR_SRX

#define M88K_CR_SRX   16

Definition at line 120 of file cpu_m88k.h.

◆ M88K_CR_SSBR

#define M88K_CR_SSBR   3

Definition at line 80 of file cpu_m88k.h.

◆ M88K_CR_SXIP

#define M88K_CR_SXIP   4

Definition at line 81 of file cpu_m88k.h.

◆ M88K_CR_VBR

#define M88K_CR_VBR   7

Definition at line 84 of file cpu_m88k.h.

◆ M88K_EXCEPTION_BOUNDS_CHECK_VIOLATION

#define M88K_EXCEPTION_BOUNDS_CHECK_VIOLATION   7

Definition at line 194 of file cpu_m88k.h.

◆ M88K_EXCEPTION_DATA_ACCESS

#define M88K_EXCEPTION_DATA_ACCESS   3

Definition at line 190 of file cpu_m88k.h.

◆ M88K_EXCEPTION_ERROR

#define M88K_EXCEPTION_ERROR   10

Definition at line 197 of file cpu_m88k.h.

◆ M88K_EXCEPTION_ILLEGAL_INTEGER_DIVIDE

#define M88K_EXCEPTION_ILLEGAL_INTEGER_DIVIDE   8

Definition at line 195 of file cpu_m88k.h.

◆ M88K_EXCEPTION_INSTRUCTION_ACCESS

#define M88K_EXCEPTION_INSTRUCTION_ACCESS   2

Definition at line 189 of file cpu_m88k.h.

◆ M88K_EXCEPTION_INTEGER_OVERFLOW

#define M88K_EXCEPTION_INTEGER_OVERFLOW   9

Definition at line 196 of file cpu_m88k.h.

◆ M88K_EXCEPTION_INTERRUPT

#define M88K_EXCEPTION_INTERRUPT   1

Definition at line 188 of file cpu_m88k.h.

◆ M88K_EXCEPTION_MISALIGNED_ACCESS

#define M88K_EXCEPTION_MISALIGNED_ACCESS   4

Definition at line 191 of file cpu_m88k.h.

◆ M88K_EXCEPTION_PRIVILEGE_VIOLATION

#define M88K_EXCEPTION_PRIVILEGE_VIOLATION   6

Definition at line 193 of file cpu_m88k.h.

◆ M88K_EXCEPTION_RESET

#define M88K_EXCEPTION_RESET   0

Definition at line 187 of file cpu_m88k.h.

◆ M88K_EXCEPTION_SFU1_IMPRECISE

#define M88K_EXCEPTION_SFU1_IMPRECISE   115

Definition at line 199 of file cpu_m88k.h.

◆ M88K_EXCEPTION_SFU1_PRECISE

#define M88K_EXCEPTION_SFU1_PRECISE   114

Definition at line 198 of file cpu_m88k.h.

◆ M88K_EXCEPTION_UNIMPLEMENTED_OPCODE

#define M88K_EXCEPTION_UNIMPLEMENTED_OPCODE   5

Definition at line 192 of file cpu_m88k.h.

◆ M88K_EXCEPTION_USER_TRAPS_START

#define M88K_EXCEPTION_USER_TRAPS_START   128

Definition at line 200 of file cpu_m88k.h.

◆ M88K_FPCR_FPECR

#define M88K_FPCR_FPECR   0

Definition at line 149 of file cpu_m88k.h.

◆ M88K_FPECR_FDVZ

#define M88K_FPECR_FDVZ   (1 << 3)

Definition at line 150 of file cpu_m88k.h.

◆ M88K_FPECR_FUNIMP

#define M88K_FPECR_FUNIMP   (1 << 6)

Definition at line 151 of file cpu_m88k.h.

◆ M88K_IC_ENTRIES_PER_PAGE

#define M88K_IC_ENTRIES_PER_PAGE   (1 << M88K_IC_ENTRIES_SHIFT)

Definition at line 158 of file cpu_m88k.h.

◆ M88K_IC_ENTRIES_SHIFT

#define M88K_IC_ENTRIES_SHIFT   10

Definition at line 157 of file cpu_m88k.h.

◆ M88K_INSTR_ALIGNMENT_SHIFT

#define M88K_INSTR_ALIGNMENT_SHIFT   2

Definition at line 156 of file cpu_m88k.h.

◆ M88K_MAX_VPH_TLB_ENTRIES

#define M88K_MAX_VPH_TLB_ENTRIES   128

Definition at line 166 of file cpu_m88k.h.

◆ M88K_N_IC_ARGS

#define M88K_N_IC_ARGS   3

Definition at line 155 of file cpu_m88k.h.

◆ M88K_PC_TO_IC_ENTRY

#define M88K_PC_TO_IC_ENTRY (   a)
Value:
#define M88K_IC_ENTRIES_PER_PAGE
Definition: cpu_m88k.h:158
#define M88K_INSTR_ALIGNMENT_SHIFT
Definition: cpu_m88k.h:156

Definition at line 159 of file cpu_m88k.h.

◆ M88K_PID

#define M88K_PID (   arn,
  vn 
)    ((arn << M88K_ARN_SHIFT) | (vn << M88K_VN_SHIFT))

Definition at line 49 of file cpu_m88k.h.

◆ M88K_PROM_INSTR

#define M88K_PROM_INSTR   0xf400fc92

Definition at line 203 of file cpu_m88k.h.

◆ M88K_RETURN_REG

#define M88K_RETURN_REG   1

Definition at line 173 of file cpu_m88k.h.

◆ M88K_ZERO_REG

#define M88K_ZERO_REG   0

Definition at line 172 of file cpu_m88k.h.

◆ MAX_M8820X_CMMUS

#define MAX_M8820X_CMMUS   8

Definition at line 210 of file cpu_m88k.h.

◆ N_M88200_BATC_REGS

#define N_M88200_BATC_REGS   10

Definition at line 212 of file cpu_m88k.h.

◆ N_M88200_PATC_ENTRIES

#define N_M88200_PATC_ENTRIES   56

Definition at line 213 of file cpu_m88k.h.

◆ N_M88K_CONTROL_REGS

#define N_M88K_CONTROL_REGS   64

Definition at line 58 of file cpu_m88k.h.

◆ N_M88K_FPU_CONTROL_REGS

#define N_M88K_FPU_CONTROL_REGS   64

Definition at line 147 of file cpu_m88k.h.

◆ N_M88K_REGS

#define N_M88K_REGS   32

Definition at line 169 of file cpu_m88k.h.

Function Documentation

◆ m88k_cpu_family_init()

int m88k_cpu_family_init ( struct cpu_family )

◆ m88k_cpu_instruction_has_delayslot()

int m88k_cpu_instruction_has_delayslot ( struct cpu cpu,
unsigned char *  ib 
)

Definition at line 236 of file cpu_m88k.cc.

References BE32_TO_HOST, cpu::byte_order, EMUL_LITTLE_ENDIAN, and LE32_TO_HOST.

Referenced by m88k_cpu_new().

◆ m88k_exception()

void m88k_exception ( struct cpu cpu,
int  vector,
int  is_trap 
)

◆ m88k_fstcr()

void m88k_fstcr ( struct cpu cpu,
uint32_t  value,
int  fcr 
)

Definition at line 587 of file cpu_m88k.cc.

References cpu::cd, m88k_cpu::cr, fatal(), and cpu::m88k.

Referenced by X().

◆ m88k_invalidate_code_translation()

void m88k_invalidate_code_translation ( struct cpu cpu,
uint64_t  ,
int   
)

Referenced by m88k_cpu_new().

◆ m88k_invalidate_translation_caches()

void m88k_invalidate_translation_caches ( struct cpu cpu,
uint64_t  ,
int   
)

Referenced by m88k_cpu_new().

◆ m88k_ldcr()

void m88k_ldcr ( struct cpu cpu,
uint32_t *  r32ptr,
int  cr 
)

◆ m88k_memory_rw()

int m88k_memory_rw ( struct cpu cpu,
struct memory mem,
uint64_t  vaddr,
unsigned char *  data,
size_t  len,
int  writeflag,
int  cache_flags 
)

Referenced by m88k_cpu_new().

◆ m88k_run_instr()

int m88k_run_instr ( struct cpu cpu)

Referenced by m88k_cpu_new().

◆ m88k_stcr()

void m88k_stcr ( struct cpu cpu,
uint32_t  value,
int  cr,
int  rte 
)

◆ m88k_translate_v2p()

int m88k_translate_v2p ( struct cpu cpu,
uint64_t  vaddr,
uint64_t *  return_addr,
int  flags 
)

◆ m88k_update_translation_table()

void m88k_update_translation_table ( struct cpu cpu,
uint64_t  vaddr_page,
unsigned char *  host_page,
int  writeflag,
uint64_t  paddr_page 
)

Referenced by m88k_cpu_new().


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13