17 #ifndef INCLUDED_CACHE_H
18 #define INCLUDED_CACHE_H
20 #define CACHE_WRITEBACK_INVALIDATE (1)
21 #define CACHE_WRITEBACK (2)
22 #define CACHE_INVALIDATE (3)
24 #define DO_NOT_DISABLE_CACHE (0)
25 #define DISABLE_CACHE (1)
195 #endif // !__ASSEMBLY__
197 #endif // INCLUDED_CACHE_H
void QbEnableInstructionCache(void)
IMPORTANT: This function gets called very early when bss is not initialized.
void QbInvalidateCaches(void)
void QbDataCacheWritebackInvalidate(void)
Writes back the entire data cache to main memory.
void QbInstrCacheInvalidate(void)
Invalidates instruction cache.
void QbDataCacheWriteback(void)
Writes back the entire data cache to main memory, then invalidates the cache.
void QbEnableDataCache(void)
QbEnableDataCache()
void QbDataCacheWritebackRange(const void *const pStart, NvU32 TotalLength)
Writes back a region of the data cache to main memory.
void QbDisableDataCache(void)
Disables data caches.
void QbDataCacheWritebackInvalidateRange(const void *const pStart, NvU32 TotalLength)
Writes back a region of the data cache to main memory, then invalidates the region.
void QbInstrCacheInvalidateRange(const void *const pStart, NvU32 TotalLength)
Invalidates a region of the instruction cache.
void QbFlushWriteCombineBuffer(void)
Drains the write bufffer.
void QbInvalidateTLB(void)
Invalidates TLB for EL2.
void QbDataCacheDisableWritebackInvalidate(void)
Disables data cache.
void QbInitInstructionCache(void)
void QbDataCacheInvalidateRange(const void *const pStart, NvU32 TotalLength)
Invalidates a region of the data cache.
void QbDisableInstructionCache(void)
Disables instruction caches.