init: fix msr hex

This commit is contained in:
Michael Shaw 2023-03-11 20:51:40 -05:00
commit f761328163

View file

@ -3,7 +3,7 @@
rdmsr:
movl %edi, %ecx
rdmsr
shlq $20, %rdx
shlq $0x20, %rdx
orq %rdx, %rax
ret
@ -11,7 +11,7 @@ rdmsr:
.global wrmsr
wrmsr:
movq %rsi, %rdx
shrq $20, %rdx
shrq $0x20, %rdx
movl %esi, %eax
movl %edi, %ecx
wrmsr