Displaying 7 results from an estimated 7 matches for "msr_no".
2007 Dec 04
10
[PATCH 0/10] Integrate msr.h
Hello,
This series of patches integrates msr.h header.
What it really does, is a series of steps to allow us
to get rid of duplicate code between i386 and x86_64 versions
With this done, achieving paravirt for x86_64 gets really easy,
just a couple of extra code.
The first patch was already sent a while ago, but was not yet pushed
to any tree , to my knowledge. So it is sent again. Also,
2007 Dec 04
10
[PATCH 0/10] Integrate msr.h
Hello,
This series of patches integrates msr.h header.
What it really does, is a series of steps to allow us
to get rid of duplicate code between i386 and x86_64 versions
With this done, achieving paravirt for x86_64 gets really easy,
just a couple of extra code.
The first patch was already sent a while ago, but was not yet pushed
to any tree , to my knowledge. So it is sent again. Also,
2010 May 17
1
centos release 5.5 issue
.../usr/include/asm-x86_64/msr.h:171: error: (Each undeclared identifier is
reported only once
/usr/include/asm-x86_64/msr.h:171: error: for each function it appears in.)
/usr/include/asm-x86_64/msr.h:171: error: ?h? undeclared (first use in
this function)
/usr/include/asm-x86_64/msr.h:171: error: ?msr_no? undeclared (first use
in this function)
/usr/include/asm-x86_64/msr.h:171: error: invalid lvalue in asm output 0
/usr/include/asm-x86_64/msr.h:171: error: invalid lvalue in asm output 1
/usr/include/asm-x86_64/msr.h: At top level:
/usr/include/asm-x86_64/msr.h:173: error: expected declaration
sp...
2007 Apr 18
2
[PATCH] Clean up x86 control register and MSR macros (corrected)
...00000000 -0700
@@ -1,6 +1,11 @@
#ifndef __ASM_MSR_H
#define __ASM_MSR_H
+#include <asm/msr-index.h>
+
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+
#include <asm/errno.h>
static inline unsigned long long native_read_msr(unsigned int msr)
@@ -162,235 +167,9 @@
{
return wrmsr_safe(msr_no, l, h);
}
-#endif /* CONFIG_SMP */
-
-/* symbolic names for some interesting MSRs */
-/* Intel defined MSRs. */
-#define MSR_IA32_P5_MC_ADDR 0
-#define MSR_IA32_P5_MC_TYPE 1
-#define MSR_IA32_PLATFORM_ID 0x17
-#define MSR_IA32_EBL_CR_POWERON 0x2a
-
-#define MSR_IA32_APICBASE 0x1b
-#define...
2007 Apr 18
2
[PATCH] Clean up x86 control register and MSR macros (corrected)
...00000000 -0700
@@ -1,6 +1,11 @@
#ifndef __ASM_MSR_H
#define __ASM_MSR_H
+#include <asm/msr-index.h>
+
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+
#include <asm/errno.h>
static inline unsigned long long native_read_msr(unsigned int msr)
@@ -162,235 +167,9 @@
{
return wrmsr_safe(msr_no, l, h);
}
-#endif /* CONFIG_SMP */
-
-/* symbolic names for some interesting MSRs */
-/* Intel defined MSRs. */
-#define MSR_IA32_P5_MC_ADDR 0
-#define MSR_IA32_P5_MC_TYPE 1
-#define MSR_IA32_PLATFORM_ID 0x17
-#define MSR_IA32_EBL_CR_POWERON 0x2a
-
-#define MSR_IA32_APICBASE 0x1b
-#define...
2007 Apr 18
1
No subject
...00000000 -0700
@@ -1,6 +1,11 @@
#ifndef __ASM_MSR_H
#define __ASM_MSR_H
+#include <asm/msr-index.h>
+
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+
#include <asm/errno.h>
static inline unsigned long long native_read_msr(unsigned int msr)
@@ -162,235 +167,9 @@
{
return wrmsr_safe(msr_no, l, h);
}
-#endif /* CONFIG_SMP */
-
-/* symbolic names for some interesting MSRs */
-/* Intel defined MSRs. */
-#define MSR_IA32_P5_MC_ADDR 0
-#define MSR_IA32_P5_MC_TYPE 1
-#define MSR_IA32_PLATFORM_ID 0x17
-#define MSR_IA32_EBL_CR_POWERON 0x2a
-
-#define MSR_IA32_APICBASE 0x1b
-#define...
2007 Apr 18
1
No subject
...00000000 -0700
@@ -1,6 +1,11 @@
#ifndef __ASM_MSR_H
#define __ASM_MSR_H
+#include <asm/msr-index.h>
+
+#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
+
#include <asm/errno.h>
static inline unsigned long long native_read_msr(unsigned int msr)
@@ -162,235 +167,9 @@
{
return wrmsr_safe(msr_no, l, h);
}
-#endif /* CONFIG_SMP */
-
-/* symbolic names for some interesting MSRs */
-/* Intel defined MSRs. */
-#define MSR_IA32_P5_MC_ADDR 0
-#define MSR_IA32_P5_MC_TYPE 1
-#define MSR_IA32_PLATFORM_ID 0x17
-#define MSR_IA32_EBL_CR_POWERON 0x2a
-
-#define MSR_IA32_APICBASE 0x1b
-#define...