Skip to content
Commit c47292f4 authored by Jim Mattson's avatar Jim Mattson Committed by Paolo Bonzini
Browse files

x86: Define wrtsc(tsc) as wrmsr(MSR_IA32_TSC, tsc)



Remove some inline assembly code duplication and opportunistically
replace the magic constant, "0x10," with "MSR_IA32_TSC."

Signed-off-by: default avatarJim Mattson <jmattson@google.com>
Message-Id: <20220127215548.2016946-3-jmattson@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 164c04b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment