v2 initial commit
This commit is contained in:
parent
2c97dba9f7
commit
d2ef885e8d
118 changed files with 2420 additions and 9320 deletions
12
amd64/arch/reg.S
Normal file
12
amd64/arch/reg.S
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.intel_syntax noprefix
|
||||
|
||||
.global cr3_write
|
||||
cr3_write:
|
||||
mov cr3, rdi
|
||||
ret
|
||||
|
||||
.global cr3_read
|
||||
cr3_read:
|
||||
mov rax, cr3
|
||||
ret
|
||||
|
||||
Loading…
Reference in a new issue