HomeSort by relevance Sort by last modified time
    Searched defs:PageTable (Results 1 - 8 of 8) sorted by null

  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/
SetIdtEntry.c 229 UINT64 *PageTable;
241 PageTable = (UINT64*)(UINTN)(AsmReadCr3 () & mPhyMask);
245 if ((PageTable[PTIndex] & IA32_PG_P) == 0) {
246 AcquirePage (&PageTable[PTIndex]);
248 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & mPhyMask);
252 PageTable[PTIndex] = (PFAddress & ~((1ull << 30) - 1)) | IA32_PG_P | IA32_PG_RW | IA32_PG_PS;
254 if ((PageTable[PTIndex] & IA32_PG_P) == 0) {
255 AcquirePage (&PageTable[PTIndex]);
257 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & mPhyMask);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/
X64Entry.c 153 UINT64 *PageTable;
175 PageTable = (UINT64*)(UINTN)(AsmReadCr3 () & PhyMask);
179 if ((PageTable[PTIndex] & IA32_PG_P) == 0) {
180 AcquirePage (PageFaultContext, &PageTable[PTIndex]);
182 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PhyMask);
186 PageTable[PTIndex] = (PFAddress & ~((1ull << 30) - 1)) | IA32_PG_P | IA32_PG_RW | IA32_PG_PS;
188 if ((PageTable[PTIndex] & IA32_PG_P) == 0) {
189 AcquirePage (PageFaultContext, &PageTable[PTIndex]);
191 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PhyMask);
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/Arm/
Mmu.c 364 volatile ARM_PAGE_TABLE_ENTRY *PageTable;
446 PageTable = (ARM_PAGE_TABLE_ENTRY *)TT_DESCRIPTOR_PAGE_BASE_ADDRESS(Descriptor);
453 CurrentPageTableEntry = PageTable[PageTableIndex];
475 PageTable[PageTableIndex] = PageTableEntry;
476 ArmUpdateTranslationTableEntry ((VOID *)&PageTable[PageTableIndex], Mva);
625 volatile ARM_PAGE_TABLE_ENTRY *PageTable;
646 PageTable = (volatile ARM_PAGE_TABLE_ENTRY *)(UINTN)PageTableAddr;
650 PageTable[Index] = TT_DESCRIPTOR_PAGE_BASE_ADDRESS(BaseAddress + (Index << 12)) | PageDescriptor;
757 IN UINT32 *PageTable,
777 PageDescriptor = PageTable[TableIndex];
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenPage/
GenPage.c 57 #define CONVERT_BIN_PAGE_ADDRESS(a) ((UINT8 *) a - PageTable + gPageTableBaseAddress)
131 To create 4G PAE 2M pagetable
134 void * - buffer containing created pagetable
139 UINT8 *PageTable;
148 PageTable = (void *)malloc (EFI_PAGE_NUMBER * EFI_SIZE_OF_PAGE);
149 memset (PageTable, 0, (EFI_PAGE_NUMBER * EFI_SIZE_OF_PAGE));
150 PageTablePtr = PageTable;
208 return PageTable;
276 // Write PageTable
  /device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
MpService.c 732 Create 4G PageTable in SMRAM.
736 @return PageTable Address
745 VOID *PageTable;
775 PageTable = AllocatePageTableMemory (ExtraPages + 5 + PagesNeeded);
776 ASSERT (PageTable != NULL);
778 PageTable = (VOID *)((UINTN)PageTable + EFI_PAGES_TO_SIZE (ExtraPages));
779 Pte = (UINT64*)PageTable;
790 Pte[Index] = (UINTN)PageTable + EFI_PAGE_SIZE * (Index + 1) + (Is32BitPageTable ? IA32_PAE_PDPTE_ATTRIBUTE_BITS : PAGE_ATTRIBUTE_BITS);
802 Pages = (UINTN)PageTable + EFI_PAGES_TO_SIZE (5);
    [all...]
SmmProfile.c     [all...]
  /device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
PageTbl.c 90 Create PageTable for SMM use.
509 UINT64 *PageTable;
586 PageTable = Pml4;
590 if ((PageTable[PTIndex] & IA32_PG_P) == 0) {
594 PageTable[PTIndex] = AllocPage () | PAGE_ATTRIBUTE_BITS;
599 UpperEntry = PageTable + PTIndex;
605 PageTable[PTIndex] |= (UINT64)IA32_PG_A;
606 SetAccNum (PageTable + PTIndex, 7);
607 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & gPhyMask);
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/
SmmBaseHelper.c 348 UINT64 *PageTable;
355 PageTable = (UINT64*)(UINTN)(AsmReadCr3 () & mPhyMask);
448 UINT64 *PageTable;
463 PageTable = (UINT64 *)(UINTN)(AsmReadCr3 () & mPhyMask);
464 PageTable = (UINT64 *)(UINTN)(PageTable[BitFieldRead64 (HookAddress, 39, 47)] & mPhyMask);
465 PageTable = (UINT64 *)(UINTN)(PageTable[BitFieldRead64 (HookAddress, 30, 38)] & mPhyMask);
467 Pdpte = (UINT64 *)(UINTN)PageTable;
472 PageTable = (UINT64 *)(UINTN)(Pde & mPhyMask);
    [all...]

Completed in 76 milliseconds