]> xenbits.xensource.com Git - people/julieng/boot-wrapper-aarch64.git/commit
Add code to clean and invalidate caches
authorMark Rutland <mark.rutland@arm.com>
Tue, 23 Apr 2013 13:50:14 +0000 (14:50 +0100)
committerMark Rutland <mark.rutland@arm.com>
Wed, 5 Jun 2013 14:55:22 +0000 (15:55 +0100)
commit28ec269a22c8dc141f49a693aea389af88424b0c
treeaae9959193f22c575bdc7696b7a3f4a744d1d1de
parentf356aa93e1aa0a1d7f06649c4f61c05e2ab31294
Add code to clean and invalidate caches

Linux expects to be handed a system with caches disabled and
invalidated. While the model currently brings CPUs up with caches
invalidated, we'll need to invalidate caches when leaving the
bootwrapper if we enable them within the bootwrapper (e.g. for the use
of exclusive operations), as lines may be allocated.

This patch adds code to invalidate the dcaches and icaches. It is not
yet called.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Makefile
cache.S [new file with mode: 0644]
model.lds.S