vgabios: Extract out common parts of struct vgamode_s.
[seabios.git] / src / mptable.h
index 68f5e651a96ee8011a293c42ce9d3a4c387b1fc2..c4e3c51ab4c48341a343120064ab0fa714d7e9a2 100644 (file)
@@ -16,7 +16,7 @@ struct mptable_floating_s {
     u8 reserved[3];
 };
 
-#define MPCONFIG_SIGNATURE 0x50434d50  // "PCMP"
+#define MPCONFIG_SIGNATURE 0x504d4350  // "PCMP"
 
 struct mptable_config_s {
     u32 signature;
@@ -38,13 +38,14 @@ struct mptable_config_s {
 #define MPT_TYPE_BUS 1
 #define MPT_TYPE_IOAPIC 2
 #define MPT_TYPE_INTSRC 3
+#define MPT_TYPE_LOCAL_INT 4
 
 struct mpt_cpu {
     u8 type;
     u8 apicid;
     u8 apicver;
     u8 cpuflag;
-    u32 cpufeature;
+    u32 cpusignature;
     u32 featureflag;
     u32 reserved[2];
 } PACKED;