TianoCore EDK2 master
|
#include "CpuPageTableLibUnitTest.h"
Go to the source code of this file.
Data Structures | |
struct | ALLOCATE_PAGE_RECORD |
struct | _ALLOCATE_PAGE_RECORDS |
struct | MAP_ENTRY |
struct | MAP_ENTRYS |
Typedefs | |
typedef struct _ALLOCATE_PAGE_RECORDS | ALLOCATE_PAGE_RECORDS |
typedef VOID *(EFIAPI * | ALLOCATE_PAGES) (IN ALLOCATE_PAGE_RECORDS *PagesRecord, IN UINTN Pages) |
Functions | |
UINT64 | GetEntryFromPageTable (IN UINTN PageTable, IN PAGING_MODE PagingMode, IN UINT64 Address, OUT UINTN *Level) |
Internal header for Random test.
Copyright (c) 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file RandomTest.h.
typedef struct _ALLOCATE_PAGE_RECORDS ALLOCATE_PAGE_RECORDS |
Definition at line 14 of file RandomTest.h.
typedef VOID *(EFIAPI * ALLOCATE_PAGES) (IN ALLOCATE_PAGE_RECORDS *PagesRecord, IN UINTN Pages) |
Definition at line 17 of file RandomTest.h.
UINT64 GetEntryFromPageTable | ( | IN UINTN | PageTable, |
IN PAGING_MODE | PagingMode, | ||
IN UINT64 | Address, | ||
OUT UINTN * | Level | ||
) |
Get the leaf entry for a given linear address from a page table
[in] | PageTable | The pointer to the page table. |
[in] | PagingMode | The paging mode. |
[in] | LinearAddress | The linear address. |
[out] | Level | leaf entry's level. |
Leaf | entry. |
Definition at line 267 of file TestHelper.c.