diff options
author | Pan, Jacob jun <jacob.jun.pan@intel.com> | 2009-08-28 17:52:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-31 05:09:40 -0400 |
commit | 162bc7ab01a00eba1c5d614e64a51e1268ee3f96 (patch) | |
tree | 50bc4b6019cb272e2f3de6253a9ce68c8a7f483e /arch/x86/include | |
parent | 47a3d5da70f411bc044ecd3c0593b158b09d0efa (diff) |
x86: Add hardware_subarch ID for Moorestown
x86 bootprotocol 2.07 has introduced hardware_subarch ID in the boot
parameters provided by FW. We use it to identify Moorestown platforms.
[ tglx: Cleanup and paravirt fix ]
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/bootparam.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/asm/bootparam.h b/arch/x86/include/asm/bootparam.h index 1724e8de317c..283a9a1b3efd 100644 --- a/arch/x86/include/asm/bootparam.h +++ b/arch/x86/include/asm/bootparam.h | |||
@@ -109,4 +109,14 @@ struct boot_params { | |||
109 | __u8 _pad9[276]; /* 0xeec */ | 109 | __u8 _pad9[276]; /* 0xeec */ |
110 | } __attribute__((packed)); | 110 | } __attribute__((packed)); |
111 | 111 | ||
112 | enum { | ||
113 | X86_SUBARCH_PC = 0, | ||
114 | X86_SUBARCH_LGUEST, | ||
115 | X86_SUBARCH_XEN, | ||
116 | X86_SUBARCH_MRST, | ||
117 | X86_NR_SUBARCHS, | ||
118 | }; | ||
119 | |||
120 | |||
121 | |||
112 | #endif /* _ASM_X86_BOOTPARAM_H */ | 122 | #endif /* _ASM_X86_BOOTPARAM_H */ |