proc: add basic proc loading
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
f9ddb8f379
commit
6b40cca5b0
10 changed files with 187 additions and 44 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#define PAGE_ACCESSED 0x020
|
||||
#define PAGE_DIRTY 0x040
|
||||
#define PAGE_PS 0x080
|
||||
#define PAGE_XD (1ull << 63)
|
||||
|
||||
#define pgd_index(address) (((address) >> 39) & 0x1FF)
|
||||
#define pud_index(address) (((address) >> 30) & 0x1FF)
|
||||
|
|
|
|||
Loading…
Reference in a new issue