A.8.30 CADI::CADICacheRead()

This function performs a cache read.

virtual CADIReturn_t CADI::CADICacheRead(CADIAddr_t addr,
                                         uint32_t linesToRead,
                                         uint8_t *data,
                                         uint8_t *tags,
                                         bool *is_dirty,
                                         bool *is_valid, 
                                         uint32_t *numLinesRead,
                                         bool doSideEffects) = 0;
addr
is the address to be read, including the memory space ID.
linesToRead
is the number of cache lines to read.
data
is a byte array of size (cache_lines *line_size). The array is encoded in little endian format.
tags
is a byte array of size (cache_lines *tagsbits/8).
is_dirty
is the status (one per line).
is_valid
is the status (one per line).
numLinesRead
is the number of cache lines actually read.
doSideEffects
If set to true, this parameter informs the target that it must perform side effects on a cache read access. Such side effects might be, for example, triggering an interrupt. If it is set to false, the target must decide when to ignore this parameter. For some cases it is not possible to read from cache without side effects.
Non-ConfidentialPDF file icon PDF versionARM 100963_0200_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.