Home
last modified time | relevance | path

Searched refs:mRTPageTable (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DRuntimeMemAllocation.c62 RT_MEMORY_PAGE_TABLE *mRTPageTable = NULL; variable
100 mRTPageTable = (RT_MEMORY_PAGE_TABLE *)ScratchBuffer; in InitializeScratchMemory()
105 SetMem (mRTPageTable, ScratchBufferSize, 0xFF); in InitializeScratchMemory()
108 mRTPageTable->PageCount = MemorySize / (RT_PAGE_SIZE + sizeof (RT_MEMORY_PAGE_ENTRY)); in InitializeScratchMemory()
109 mRTPageTable->LastEmptyPageOffset = 0x0; in InitializeScratchMemory()
111 for (Index = 0; Index < mRTPageTable->PageCount; Index++) { in InitializeScratchMemory()
112 mRTPageTable->Pages[Index].PageFlag = RT_PAGE_FREE; in InitializeScratchMemory()
113 mRTPageTable->Pages[Index].StartPageOffset = 0; in InitializeScratchMemory()
116 mRTPageTable->DataAreaBase = ScratchBuffer + sizeof (RT_MEMORY_PAGE_TABLE) + in InitializeScratchMemory()
117 (mRTPageTable->PageCount - 1) * sizeof (RT_MEMORY_PAGE_ENTRY); in InitializeScratchMemory()
[all …]