139 NvU64 TextLoadOffset, NvU64 DataLoadOffset);
145 #endif // INCLUDED_MM_H
mspace QbUnCachedMallocAlign(NvU32 bytes, NvU32 align)
Allocates aligned uncached memory dynamically.
NvError QbAddAndMapRegion(struct QbMemoryMap MapEntry)
Adds new mapping to the MMU and updates the global mapping table with the new mappings.
void QbFree(void *ptr)
Frees memory previously allocated using QbMalloc.
void QbKernelHandOff(NvU64 KernelStartAddr, NvU64 DtbAddr, NvU64 TextLoadOffset, NvU64 DataLoadOffset)
Disables the MMU, I-Cache, Invalidates I-Cache, TLBs Jumps to Kernel.
void QbMapMemBasic(void)
Initializes the MMU, creates page tables as per s_g_MemoryMap.
NvUPtr QbVirtToPhy(NvUPtr Addr)
Returns the physical address of a given virtual address.
mspace QbMalloc(NvU32 bytes)
Allocates memory dynamically.
NvU64 QbGetTextPhyOffset(void)
Gets the physical offset (LinkAddr - LoadAddr) of Quickboot text section.
NvUPtr QbPhyToVirt(NvUPtr Addr)
Returns the virtual address of the given physical address.
void QbPerformPageWalk(void)
Performs page walk and prints page tables.
mspace QbMallocAlign(NvU32 bytes, NvU32 align)
Allocates aligned memory dynamically.
void QbMapSysCfg(void)
Creates mapping for sysinfo, syscfg.
NvU64 QbGetDataPhyOffset(void)
Gets the physical offset (LinkAddr - LoadAddr) of Quickboot Data section.