TianoCore EDK2 master
Loading...
Searching...
No Matches
Page.h File Reference

Go to the source code of this file.

Macros

#define INVALID_PAGE   0
 
#define LEVEL5   5
 
#define LEVEL4   4
 
#define LEVEL3   3
 
#define LEVEL2   2
 
#define LEVEL1   1
 
#define PTE_ATTRIBUTES_MASK   0x600000000000007EULL
 
#define PTE_PPN_MASK   0xFFFFFFFFF000ULL
 
#define PTE_PPN_SHIFT   EFI_PAGE_SHIFT
 
#define LOONGARCH_MMU_PAGE_SHIFT   EFI_PAGE_SHIFT
 
#define MAX_LOONGARCH_EXCEPTION   64
 

Detailed Description

Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Page.h.

Macro Definition Documentation

◆ INVALID_PAGE

#define INVALID_PAGE   0

Definition at line 12 of file Page.h.

◆ LEVEL1

#define LEVEL1   1

Definition at line 18 of file Page.h.

◆ LEVEL2

#define LEVEL2   2

Definition at line 17 of file Page.h.

◆ LEVEL3

#define LEVEL3   3

Definition at line 16 of file Page.h.

◆ LEVEL4

#define LEVEL4   4

Definition at line 15 of file Page.h.

◆ LEVEL5

#define LEVEL5   5

Definition at line 14 of file Page.h.

◆ LOONGARCH_MMU_PAGE_SHIFT

#define LOONGARCH_MMU_PAGE_SHIFT   EFI_PAGE_SHIFT

Definition at line 24 of file Page.h.

◆ MAX_LOONGARCH_EXCEPTION

#define MAX_LOONGARCH_EXCEPTION   64

Definition at line 31 of file Page.h.

◆ PTE_ATTRIBUTES_MASK

#define PTE_ATTRIBUTES_MASK   0x600000000000007EULL

Definition at line 20 of file Page.h.

◆ PTE_PPN_MASK

#define PTE_PPN_MASK   0xFFFFFFFFF000ULL

Definition at line 22 of file Page.h.

◆ PTE_PPN_SHIFT

#define PTE_PPN_SHIFT   EFI_PAGE_SHIFT

Definition at line 23 of file Page.h.