cpu_m88k.cc File Reference

Back to the index.

Macros | Functions
cpu_m88k.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include "cpu.h"
#include "float_emul.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "settings.h"
#include "symbol.h"
#include "thirdparty/m8820x_pte.h"
#include "thirdparty/m88k_dmt.h"
#include "thirdparty/mvmeprom.h"
#include "tmp_m88k_head.cc"
#include "tmp_m88k_tail.cc"

Go to the source code of this file.

Macros

#define DYNTRANS_32
 
#define DYNTRANS_DELAYSLOT
 

Functions

void m88k_pc_to_pointers (struct cpu *)
 
void m88k_cpu_functioncall_trace (struct cpu *cpu, int n_args)
 
void m88k_irq_interrupt_assert (struct interrupt *interrupt)
 
void m88k_irq_interrupt_deassert (struct interrupt *interrupt)
 
int m88k_cpu_new (struct cpu *cpu, struct memory *mem, struct machine *machine, int cpu_id, char *cpu_type_name)
 
void m88k_cpu_dumpinfo (struct cpu *cpu)
 
void m88k_cpu_list_available_types (void)
 
int m88k_cpu_instruction_has_delayslot (struct cpu *cpu, unsigned char *ib)
 
void m88k_cpu_register_dump (struct cpu *cpu, int gprs, int coprocs)
 
void m88k_cpu_tlbdump (struct machine *m, int x, int rawflag)
 
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_cpu_disassemble_instr (struct cpu *cpu, unsigned char *ib, int running, uint64_t dumpaddr)
 

Macro Definition Documentation

◆ DYNTRANS_32

#define DYNTRANS_32

Definition at line 58 of file cpu_m88k.cc.

◆ DYNTRANS_DELAYSLOT

#define DYNTRANS_DELAYSLOT

Definition at line 59 of file cpu_m88k.cc.

Function Documentation

◆ m88k_cpu_disassemble_instr()

int m88k_cpu_disassemble_instr ( struct cpu cpu,
unsigned char *  ib,
int  running,
uint64_t  dumpaddr 
)

◆ m88k_cpu_dumpinfo()

void m88k_cpu_dumpinfo ( struct cpu cpu)

Definition at line 198 of file cpu_m88k.cc.

References cpu::byte_order, debug, and EMUL_BIG_ENDIAN.

◆ m88k_cpu_functioncall_trace()

void m88k_cpu_functioncall_trace ( struct cpu cpu,
int  n_args 
)

Referenced by m88k_exception().

◆ 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.

◆ m88k_cpu_list_available_types()

void m88k_cpu_list_available_types ( void  )

Definition at line 214 of file cpu_m88k.cc.

References debug, M88K_CPU_TYPE_DEFS, m88k_cpu_type_def::name, and strlen().

◆ m88k_cpu_new()

int m88k_cpu_new ( struct cpu cpu,
struct memory mem,
struct machine machine,
int  cpu_id,
char *  cpu_type_name 
)

Definition at line 101 of file cpu_m88k.cc.

◆ m88k_cpu_register_dump()

void m88k_cpu_register_dump ( struct cpu cpu,
int  gprs,
int  coprocs 
)

◆ m88k_cpu_tlbdump()

void m88k_cpu_tlbdump ( struct machine m,
int  x,
int  rawflag 
)

◆ 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_irq_interrupt_assert()

void m88k_irq_interrupt_assert ( struct interrupt interrupt)

Definition at line 407 of file cpu_m88k.cc.

References cpu::cd, interrupt::extra, m88k_cpu::irq_asserted, and cpu::m88k.

◆ m88k_irq_interrupt_deassert()

void m88k_irq_interrupt_deassert ( struct interrupt interrupt)

Definition at line 412 of file cpu_m88k.cc.

References cpu::cd, interrupt::extra, m88k_cpu::irq_asserted, and cpu::m88k.

◆ m88k_ldcr()

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

◆ m88k_pc_to_pointers()

void m88k_pc_to_pointers ( struct cpu )

◆ m88k_stcr()

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

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