Changeset e639c026 in rtems for c/src/lib

Timestamp:
11/25/16 18:21:40 (7 years ago)
Author:
Martin Erik Werner <martinerikwerner.aac@…>
Branches:
5, master
Children:
4dcaa48
Parents:
0a9b6eb0
git-author:
Martin Erik Werner <martinerikwerner.aac@…> (11/25/16 18:21:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/28/16 06:30:44)
Message:

or1k: Add functions for entire cache operations

Add functions for flushing and invalidating whole cache.

Since we don't have system calls that can operate on anything more than
a single cache line, these simply retrieves the cache size and iterates
over the full size, invalidating each line.

The current implementation assumes that there's only one level of cache.

These changes were contributed by Antmicro under contract by ÅAC
Microtec AB.

Close #2602

(No files)

Note: See TracChangeset for help on using the changeset viewer.