CPUDyntransComponent.h File Reference

Back to the index.

Classes | Macros | Typedefs
CPUDyntransComponent.h File Reference
#include "CPUComponent.h"
#include "UnitTest.h"
#include <assert.h>

Go to the source code of this file.

Classes

struct  DyntransIC
 
class  CPUDyntransComponent
 A base-class for processors Component implementations that use dynamic translation. More...
 

Macros

#define N_DYNTRANS_IC_ARGS   3
 
#define DYNTRANS_PAGE_NSPECIALENTRIES   2
 
#define DECLARE_DYNTRANS_INSTR(name)   static void instr_##name(CPUDyntransComponent* cpubase, DyntransIC* ic);
 
#define DYNTRANS_INSTR(class, name)   void class::instr_##name(CPUDyntransComponent* cpubase, DyntransIC* ic)
 
#define DYNTRANS_INSTR_HEAD(class)   class* cpu = (class*) cpubase;
 
#define REG32(arg)   (*((uint32_t*)((arg).p)))
 
#define REG64(arg)   (*((uint64_t*)((arg).p)))
 
#define DYNTRANS_SYNCH_PC   cpu->m_nextIC = ic; cpu->DyntransResyncPC()
 

Typedefs

typedef void(* DyntransIC_t) (class CPUDyntransComponent *, struct DyntransIC *)
 

Macro Definition Documentation

◆ DECLARE_DYNTRANS_INSTR

#define DECLARE_DYNTRANS_INSTR (   name)    static void instr_##name(CPUDyntransComponent* cpubase, DyntransIC* ic);

Definition at line 76 of file CPUDyntransComponent.h.

◆ DYNTRANS_INSTR

#define DYNTRANS_INSTR (   class,
  name 
)    void class::instr_##name(CPUDyntransComponent* cpubase, DyntransIC* ic)

Definition at line 77 of file CPUDyntransComponent.h.

◆ DYNTRANS_INSTR_HEAD

#define DYNTRANS_INSTR_HEAD (   class)    class* cpu = (class*) cpubase;

Definition at line 78 of file CPUDyntransComponent.h.

◆ DYNTRANS_PAGE_NSPECIALENTRIES

#define DYNTRANS_PAGE_NSPECIALENTRIES   2

Definition at line 70 of file CPUDyntransComponent.h.

◆ DYNTRANS_SYNCH_PC

#define DYNTRANS_SYNCH_PC   cpu->m_nextIC = ic; cpu->DyntransResyncPC()

Definition at line 83 of file CPUDyntransComponent.h.

◆ N_DYNTRANS_IC_ARGS

#define N_DYNTRANS_IC_ARGS   3

Definition at line 44 of file CPUDyntransComponent.h.

◆ REG32

#define REG32 (   arg)    (*((uint32_t*)((arg).p)))

Definition at line 80 of file CPUDyntransComponent.h.

◆ REG64

#define REG64 (   arg)    (*((uint64_t*)((arg).p)))

Definition at line 81 of file CPUDyntransComponent.h.

Typedef Documentation

◆ DyntransIC_t

typedef void(* DyntransIC_t) (class CPUDyntransComponent *, struct DyntransIC *)

Definition at line 52 of file CPUDyntransComponent.h.


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