]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Include/Register/LocalApic.h
Fix build break when doing 32-bit build with some certain C compiler option combinations.
[mirror_edk2.git] / UefiCpuPkg / Include / Register / LocalApic.h
index e22900d0cc2eb542c42d594bc2ef5c11cca08d01..9f8f1bb8bb7de0c195087bcef931d1cf08d47206 100644 (file)
 \r
 typedef union {\r
   struct {\r
-    UINT64  Reserved0:8;   ///< Reserved.\r
-    UINT64  Bsp:1;         ///< Processor is BSP.\r
-    UINT64  Reserved1:1;   ///< Reserved.\r
-    UINT64  Extd:1;        ///< Enable x2APIC mode.\r
-    UINT64  En:1;          ///< xAPIC global enable/disable.\r
-    UINT64  ApicBase:52;   ///< APIC Base physical address. The actual field width depends on physical address width.\r
+    UINT32  Reserved0:8;     ///< Reserved.\r
+    UINT32  Bsp:1;           ///< Processor is BSP.\r
+    UINT32  Reserved1:1;     ///< Reserved.\r
+    UINT32  Extd:1;          ///< Enable x2APIC mode.\r
+    UINT32  En:1;            ///< xAPIC global enable/disable.\r
+    UINT32  ApicBaseLow:20;  ///< APIC Base physical address. The actual field width depends on physical address width.\r
+    UINT32  ApicBaseHigh:32;\r
   } Bits;\r
   UINT64    Uint64;\r
 } MSR_IA32_APIC_BASE;\r