TianoCore EDK2 master
Loading...
Searching...
No Matches
Page.h
Go to the documentation of this file.
1
9#ifndef PAGE_H_
10#define PAGE_H_
11
12#define INVALID_PAGE 0
13
14#define LEVEL5 5
15#define LEVEL4 4
16#define LEVEL3 3
17#define LEVEL2 2
18#define LEVEL1 1
19
20#define PTE_ATTRIBUTES_MASK 0x600000000000007EULL
21
22#define PTE_PPN_MASK 0xFFFFFFFFF000ULL
23#define PTE_PPN_SHIFT EFI_PAGE_SHIFT
24#define LOONGARCH_MMU_PAGE_SHIFT EFI_PAGE_SHIFT
25
26//
27// For coding convenience, define the maximum valid
28// LoongArch exception.
29// Since UEFI V2.11, it will be present in DebugSupport.h.
30//
31#define MAX_LOONGARCH_EXCEPTION 64
32
33#endif // PAGE_H_