|
FreeNOS
|
Intel cache management implementation. More...
#include <IntelCache.h>
Public Member Functions | |
| virtual Result | invalidate (Type type) |
| Invalidate the entire cache. More... | |
| virtual Result | cleanInvalidate (Type type) |
| Clean and invalidate entire cache. More... | |
| virtual Result | cleanInvalidateAddress (Type type, Address addr) |
| Clean and invalidate one memory page. More... | |
| virtual Result | cleanAddress (Type type, Address addr) |
| Clean one memory page. More... | |
| virtual Result | invalidateAddress (Type type, Address addr) |
| Invalidate one memory page. More... | |
Public Member Functions inherited from Cache | |
| virtual Result | cleanData (Address addr) |
| Clean one data page. More... | |
| virtual Result | cleanData (void *ptr) |
| Clean one data page. More... | |
Additional Inherited Members | |
Public Types inherited from Cache | |
| enum | Result { Success, InvalidArgument, IOError, NotSupported } |
| Result codes. More... | |
| enum | Type { Instruction, Data, Unified } |
| Cache types. More... | |
Intel cache management implementation.
Definition at line 39 of file IntelCache.h.
|
virtual |
Clean one memory page.
| type | Cache type to clean |
| addr | Virtual memory address of the page to clean and invalidate |
Implements Cache.
Definition at line 35 of file IntelCache.cpp.
References Cache::Success.
|
virtual |
Clean and invalidate entire cache.
This operation will clean and invalidate the entire given cache.
| type | Cache type to clean and invalidate. |
Implements Cache.
Definition at line 25 of file IntelCache.cpp.
References Cache::Success.
|
virtual |
Clean and invalidate one memory page.
| type | Cache type to clean and invalidate. |
| addr | Virtual memory address of the page to clean and invalidate |
Implements Cache.
Definition at line 30 of file IntelCache.cpp.
References Cache::Success.
|
virtual |
Invalidate the entire cache.
| type | Cache type to invalidate. |
Implements Cache.
Definition at line 20 of file IntelCache.cpp.
References Cache::Success.
|
virtual |
Invalidate one memory page.
| type | Cache type to invalidate |
| addr | Virtual memory address of the page to invalidate |
Implements Cache.
Definition at line 40 of file IntelCache.cpp.
References Cache::Success.
1.8.17