summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/msr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/arch/amd64/msr.h')
-rw-r--r--sys/include/arch/amd64/msr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/msr.h b/sys/include/arch/amd64/msr.h
index 9d3a8bf..ebd2776 100644
--- a/sys/include/arch/amd64/msr.h
+++ b/sys/include/arch/amd64/msr.h
@@ -33,6 +33,8 @@
#include <sys/types.h>
#include <sys/cdefs.h>
+#define IA32_SPEC_CTL 0x00000048
+
static inline uint64_t
rdmsr(uint32_t msr_addr)
{