Loading...
Searching...
No Matches
Go to the documentation of this file.
20 asm volatile(
"rdmsr\n" :
"=a"(low),
"=d"(high) :
"c"(msr));
21 return u64(low) | (
u64(high) << 32);
26 u32 high = value >> 32;
27 asm volatile(
"wrmsr" : :
"a"(low),
"d"(high),
"c"(msr));
__UINT64_TYPE__ u64
Definition integers.h:12
__UINT32_TYPE__ u32
Definition integers.h:11
ModelSpecificRegister
Definition msr.h:6
@ LocalApicBase
Definition msr.h:7
@ KernelGsBase
Definition msr.h:14
@ GsBase
Definition msr.h:13
@ CStar
Definition msr.h:10
@ FsBase
Definition msr.h:12
@ LStar
Definition msr.h:9
@ SfMask
Definition msr.h:11