Table 2-17 Function Descriptions Register C7 - ARM ARM926EJ-S Technical Reference Manual

Table of Contents

Advertisement

ARM DDI0198D
Reading from CP15 c7 is Unpredictable, with the exception of the two test and clean
operations (see Table 2-18 on page 2-22 and Test and clean operations on page 2-24).
You can use the following instruction to write to c7:
MCR p15, <Opcode_1>, <Rd>, <CRn>, <CRm>, <Opcode_2>
The cache functions, and a description of each function, provided by this register are
listed in Table 2-17.
Function
Invalidate cache
Invalidate single entry using
either index or modified virtual
address
Clean single data entry using
either index or modified virtual
address
Clean and invalidate single
data entry using either index or
modified virtual address
Test and clean DCache
Test, clean, and invalidate
DCache
Copyright © 2001-2003 ARM Limited. All rights reserved.

Table 2-17 Function descriptions register c7

Description
Invalidates all cache data, including any dirty data.
Invalidates a single cache line, discarding any dirty data.
Writes the specified DCache line to main memory if the
line is marked valid and dirty. The line is marked as not
dirty. The valid bit is unchanged.
Writes the specified DCache line to main memory if the
line is marked valid and dirty. The line is marked not valid.
Tests a number of cache lines, and cleans one of them if any
are dirty. Returns the overall dirty state of the cache in bit
30. See Test and clean operations on page 2-24.
As for test and clean, except that when the entire cache has
been tested and cleaned, it is invalidated. See Test and clean
operations on page 2-24.
Programmer's Model
2-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents