NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cache.h File Reference

Detailed Description

NVIDIA Quickboot Interface: Memory Management

Description: This file declares the memory operations for cache.

Definition in file cache.h.

Go to the source code of this file.

Macros

#define CACHE_WRITEBACK_INVALIDATE   (1)
 
#define CACHE_WRITEBACK   (2)
 
#define CACHE_INVALIDATE   (3)
 
#define DO_NOT_DISABLE_CACHE   (0)
 
#define DISABLE_CACHE   (1)
 

Functions

void QbDataCacheWritebackInvalidateRange (const void *const pStart, NvU32 TotalLength)
 Writes back a region of the data cache to main memory, then invalidates the region. More...
 
void QbDataCacheWritebackRange (const void *const pStart, NvU32 TotalLength)
 Writes back a region of the data cache to main memory. More...
 
void QbDataCacheWriteback (void)
 Writes back the entire data cache to main memory, then invalidates the cache. More...
 
void QbDataCacheWritebackInvalidate (void)
 Writes back the entire data cache to main memory. More...
 
void QbDataCacheDisableWritebackInvalidate (void)
 Disables data cache. More...
 
void QbDataCacheInvalidateRange (const void *const pStart, NvU32 TotalLength)
 Invalidates a region of the data cache. More...
 
void QbInstrCacheInvalidate (void)
 Invalidates instruction cache. More...
 
void QbInstrCacheInvalidateRange (const void *const pStart, NvU32 TotalLength)
 Invalidates a region of the instruction cache. More...
 
void QbFlushWriteCombineBuffer (void)
 Drains the write bufffer. More...
 
void QbEnableDataCache (void)
 QbEnableDataCache() More...
 
void QbDisableDataCache (void)
 Disables data caches. More...
 
void QbInitInstructionCache (void)
 
void QbEnableInstructionCache (void)
 IMPORTANT: This function gets called very early when bss is not initialized. More...
 
void QbDisableInstructionCache (void)
 Disables instruction caches. More...
 
void QbInvalidateTLB (void)
 Invalidates TLB for EL2. More...
 
void QbInvalidateCaches (void)
 

Macro Definition Documentation

#define CACHE_INVALIDATE   (3)

Definition at line 22 of file cache.h.

#define CACHE_WRITEBACK   (2)

Definition at line 21 of file cache.h.

#define CACHE_WRITEBACK_INVALIDATE   (1)

Definition at line 20 of file cache.h.

#define DISABLE_CACHE   (1)

Definition at line 25 of file cache.h.

#define DO_NOT_DISABLE_CACHE   (0)

Definition at line 24 of file cache.h.