|
|
NVIDIA DRIVE OS Linux API Reference5.1.0.2 Release |
NVIDIA Quickboot Interface: Memory Management
Description: This file declares the memory management operations.
Definition in file mm.h.
Go to the source code of this file.
Functions | |
| mspace | QbMalloc (NvU32 bytes) |
| Allocates memory dynamically. More... | |
| mspace | QbMallocAlign (NvU32 bytes, NvU32 align) |
| Allocates aligned memory dynamically. More... | |
| mspace | QbUnCachedMallocAlign (NvU32 bytes, NvU32 align) |
| Allocates aligned uncached memory dynamically. More... | |
| void | QbFree (void *ptr) |
| Frees memory previously allocated using QbMalloc. More... | |
| NvError | QbAddAndMapRegion (struct QbMemoryMap MapEntry) |
| Adds new mapping to the MMU and updates the global mapping table with the new mappings. More... | |
| void | QbPerformPageWalk (void) |
| Performs page walk and prints page tables. More... | |
| NvU64 | QbGetTextPhyOffset (void) |
| Gets the physical offset (LinkAddr - LoadAddr) of Quickboot text section. More... | |
| NvU64 | QbGetDataPhyOffset (void) |
| Gets the physical offset (LinkAddr - LoadAddr) of Quickboot Data section. More... | |
| NvUPtr | QbVirtToPhy (NvUPtr Addr) |
| Returns the physical address of a given virtual address. More... | |
| NvUPtr | QbPhyToVirt (NvUPtr Addr) |
| Returns the virtual address of the given physical address. More... | |
| void | QbMapMemBasic (void) |
| Initializes the MMU, creates page tables as per s_g_MemoryMap. More... | |
| void | QbMapSysCfg (void) |
| Creates mapping for sysinfo, syscfg. More... | |
| void | QbKernelHandOff (NvU64 KernelStartAddr, NvU64 DtbAddr, NvU64 TextLoadOffset, NvU64 DataLoadOffset) |
| Disables the MMU, I-Cache, Invalidates I-Cache, TLBs Jumps to Kernel. More... | |
| void | QbInitMMU (void) |
| void | QbDisableMMU (void) |