SCFG_IsSecureRomAccessible

Syntax

#include <twl/scfg.h>
static inline BOOL SCFG_IsSecureRomAccessible( void );
  

Arguments

None.

Return Values

If TRUE, access is permitted. If FALSE, access is not permitted.

Description

Determines if ARM9 secure ROM can be used.

If the return value is TRUE, access is permitted. If it is FALSE, access from the AHB is not permitted.

Settings are configured by the ARM7. This function is used to read the setting.

Note: Use this function when running on TWL hardware.

Because NITRO hardware does not include an SCFG block, this function is not expected to be invoked on NITRO hardware. If this function is invoked on NITRO hardware, TRUE is returned. Although execution does not stop even if invoked this way, note that the value returned is meaningless.


Correspondence Table Between the Operating Environment/Operating Mode and Return Value

Operating Environment Return Values When Operating in TWL Mode Return Values When Operating in NITRO Mode
IS-TWL-DEBUGGER
TWL hardware
FALSE FALSE
IS-NITRO-DEBUGGER
ENSATA EMULATOR
NITRO hardware
(This combination does not exist.) TRUE
Because this combination is not anticipated,
the return value means nothing.

See Also

SCFG Overview

Revision History

2007/10/03 Initial version.


CONFIDENTIAL