4.7.7. armul_MemAccAsync

This is a memory access function used by ARM10, ARM11 and XScale models.

Syntax

int armul_MemAccAsync(void *handle, ARMword address, ARMword *data,                              ARMul_acc acc, ARMTime *abs_time)

where:

handle

is the value of interf->handle set in MemInit.

address

is the value on the address bus.

data

is a pointer to the data for the memory access. See Data for reads and writes for details.

acc

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

abs_time

is the absolute time since reset.

Return

The function returns:

1

indicates successful completion of the cycle

0

tells the processor to busy-wait and try the access again next cycle

–1

signals an abort.

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