19#ifndef __LIBARCH_ARM64_ARM64CACHE_H
20#define __LIBARCH_ARM64_ARM64CACHE_H
ARMv7 cache management implementation.
CacheLevelType
Defines the cache level type bits.
@ CacheLevelInstructionData
virtual Result cleanInvalidateAddress(Type type, Address addr)
Clean and invalidate one memory page.
u32 getCacheLevelId() const
Get cache level identifier.
virtual Result invalidate(Type type)
Invalidate the entire cache.
u32 readCacheSize(u32 level, u32 type) const
Get cache size.
virtual Result cleanInvalidate(Type type)
Clean and invalidate entire cache.
virtual Result cleanAddress(Type type, Address addr)
Clean one memory page.
Result dataFlush(bool clean)
Flush the entire data cache.
Result flushLevel(u32 level, bool clean)
Clean and Invalidate by cache level.
u32 getCacheLineSize() const
Get cache line size in bytes.
virtual Result invalidateAddress(Type type, Address addr)
Invalidate one memory page.
Cache management interface.
unsigned int u32
Unsigned 32-bit number.
unsigned long Address
A memory address.