mem: add page entry type
This commit is contained in:
parent
01a2dde3cb
commit
2b9d76d015
7 changed files with 100 additions and 9 deletions
5
mem/cr3.S
Normal file
5
mem/cr3.S
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
.global cr3_get
|
||||
cr3_get:
|
||||
movq %cr3, %rax
|
||||
ret
|
||||
Loading…
Reference in a new issue