use the safer movzwl instead of movl
This commit is contained in:
parent
d9685369c2
commit
9b604b8ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ clear_fixed_var_mtrr:
|
|||
testw $0x00, %ax
|
||||
jz set_fixed_mtrr
|
||||
|
||||
movl %eax, %ecx
|
||||
movzwl %ax, %ecx
|
||||
xorl %eax, %eax
|
||||
wrmsr
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue