init: fix msr hex
This commit is contained in:
parent
957e56e959
commit
f761328163
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
rdmsr:
|
rdmsr:
|
||||||
movl %edi, %ecx
|
movl %edi, %ecx
|
||||||
rdmsr
|
rdmsr
|
||||||
shlq $20, %rdx
|
shlq $0x20, %rdx
|
||||||
orq %rdx, %rax
|
orq %rdx, %rax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
@ -11,7 +11,7 @@ rdmsr:
|
||||||
.global wrmsr
|
.global wrmsr
|
||||||
wrmsr:
|
wrmsr:
|
||||||
movq %rsi, %rdx
|
movq %rsi, %rdx
|
||||||
shrq $20, %rdx
|
shrq $0x20, %rdx
|
||||||
movl %esi, %eax
|
movl %esi, %eax
|
||||||
movl %edi, %ecx
|
movl %edi, %ecx
|
||||||
wrmsr
|
wrmsr
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue