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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue