4.7. Memory model interface

The memory model interface is defined in the file armul_mem.h, which is included from armul_defs.h. All memory access are performed through a single function pointer that is passed a flags word. The flags word consists of a bitfield in which the bits correspond to the signals on the outside of the ARM processor. This determines the type of memory access that is being performed.

At initialization time, the initialization function registers a number of functions in the memory interface structure, ARMul_MemInterface in armul_mem.h.

For details of the initialization function, see:

For details of the basic function entries, see:

For details of the functions required for some processors, but not for others, see:

Type definitions for these functions are in armul_mem.h.

Note

armul_mem.h contains several type definitions for several functions that are not used by RVISS. You do not have to supply these functions.

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0207D
Non-Confidential