4.5.2. ARMulif_GetProperty

The ARMulif_GetProperty function is used to read the values of properties and signals.

Syntax


void ARMulif_GetProperty(RDI_ModuleDesc *mdesc, ARMSignalType id,                         ARMword *value)

where:

mdesc

is the handle for the core.

id

is the signal or property to read. id can be any one of:

RDIPropID_ARMSignal_IRQ

TRUE if the interrupt signal is asserted.

RDIPropID_ARMSignal_FIQ

TRUE if the fast interrupt signal is asserted.

RDIPropID_ARMSignal_RESET

TRUE if the reset signal is asserted.

RDIPropID_ARMSignal_BigEnd

TRUE if the bigend signal is asserted.

RDIPropID_ARMSignal_HighException

TRUE if the vector table is at 0xFFFF0000.

RDIPropID_ARMSignal_BranchPredictEnable

(ARM10 only)

RDIPropID_ARMSignal_LDRSetTBITDisable

(ARM10 only)

RDIPropID_ARMSignal_WaitForInterrupt

(ARM10 and XScale only)

RDIPropID_ARMulProp_CycleCount

Count of the number of cycles executed since initialization.

RDIPropID_ARMulProp_RDILog

Current setting of the RDI log level. Generally, this is zero if logging is disabled, and nonzero if it is enabled.

RDIPropID_ARMSignal_ProcessorProperties

The properties word associated with the processor being simulated. This is a bitfield of properties, defined in armdefs.h.

value

is a pointer to a block to write the property to. This allows for properties with more than 32 bits. However, all the properties listed are actually 32 bits wide at most.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential