| |||
| Home > RVISS Reference > Memory model interface > armul_MemAccess2 | |||
This function is required for ARM8 models.
int armul_MemAccess2(void *handle, ARMwordaddress, ARMword *data, ARMul_accaccess_type)
where:
handleis the value of interf->handle set
in MemInit.
addressis the value on the address bus.
datais a pointer to the data for the memory access. See Data for reads and writes for details.
access_typeencodes the type of cycle. On some processors, for example, cached processors, some of the signals are not valid. See Macros for access types for details of the macros for determining access type.
The function returns:
Indicates successful completion of the cycle.
Tells the processor to busy-wait and try the access again next cycle.
Signals an abort.
Signals successful return
of a single word of a doubleword load. To load the second word,
the caller increments by
4 and issues a single word load.address