mem: add page entry type

This commit is contained in:
Michael Shaw 2023-03-01 14:20:13 -05:00
commit 2b9d76d015
7 changed files with 100 additions and 9 deletions

5
mem/cr3.S Normal file
View file

@ -0,0 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
.global cr3_get
cr3_get:
movq %cr3, %rax
ret