TEMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
temu_MemAccessIface Struct Reference

#include <temu-c/Memory/Memory.h>

Collaboration diagram for temu_MemAccessIface:

Data Fields

void(* fetch )(void *Obj, temu_MemTransaction *Mt)
 
void(* read )(void *Obj, temu_MemTransaction *Mt)
 Function called on reads. More...
 
void(* write )(void *Obj, temu_MemTransaction *Mt)
 Function called on writes. More...
 
void(* exchange )(void *Obj, temu_MemTransaction *Mt)
 

Detailed Description

Memory access interface implemented by all memory mapped devices Exposed to the emulator core by a memory object.

Definition at line 110 of file Memory.h.

Field Documentation

void(* temu_MemAccessIface::exchange)(void *Obj, temu_MemTransaction *Mt)

Function called on atomic exchanges, by default if this is not defined, the memory space will call read followed by write in order.

Definition at line 124 of file Memory.h.

void(* temu_MemAccessIface::fetch)(void *Obj, temu_MemTransaction *Mt)

Function called on fetches. The function can be null in case fetches are not allowed from the model.

Definition at line 113 of file Memory.h.

void(* temu_MemAccessIface::read)(void *Obj, temu_MemTransaction *Mt)

Function called on reads.

Definition at line 116 of file Memory.h.

void(* temu_MemAccessIface::write)(void *Obj, temu_MemTransaction *Mt)

Function called on writes.

Definition at line 119 of file Memory.h.


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