2.7.2 CACHE_InstructionCacheLock Function

C

void CACHE_InstructionCacheLock(uint32_t addr, size_t len)

Summary

Fetch and lock a block of instructions in the instruction cache.

Description

Fetch and lock a block of instructions in the instruction cache.

Parameters

ParamDescription
addraddress (aligned to 32-byte boundary)
lensize of memory block (in number of bytes)

Returns

None.

Example

CACHE_InstructionCacheLock(addr, len);

Remarks

Global flush functions will invalidate and unlock any cache lines locked with this function.