summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/AcpiTables
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-30 23:15:42 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-30 23:15:42 +0000
commit54235984ee6a9d0abe0797ee00d358a0ed6df861 (patch)
tree17fae7453684d571b5114bf11c91886829e3a9a8 /OvmfPkg/AcpiTables
parent522203de37bdd4d0239a14f17a1d3029f07e23fa (diff)
downloadedk2-54235984ee6a9d0abe0797ee00d358a0ed6df861.tar.gz
edk2-54235984ee6a9d0abe0797ee00d358a0ed6df861.tar.bz2
edk2-54235984ee6a9d0abe0797ee00d358a0ed6df861.zip
OvmfPkg ACPI MADT: Make processor IDs zero based
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13386 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/AcpiTables')
-rw-r--r--OvmfPkg/AcpiTables/Madt.aslc22
1 files changed, 11 insertions, 11 deletions
diff --git a/OvmfPkg/AcpiTables/Madt.aslc b/OvmfPkg/AcpiTables/Madt.aslc
index e0e07a9390..f5b71a6e0c 100644
--- a/OvmfPkg/AcpiTables/Madt.aslc
+++ b/OvmfPkg/AcpiTables/Madt.aslc
@@ -1,19 +1,19 @@
/** @file
MADT Table
- This file contains a structure definition for the ACPI 1.0 Multiple APIC
- Description Table (MADT).
-
- Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
+ This file contains a structure definition for the ACPI 1.0 Multiple APIC
+ Description Table (MADT).
+
+ Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are
licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
-
+
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-**/
+**/
#include <IndustryStandard/Acpi.h>
@@ -79,12 +79,12 @@ EFI_ACPI_1_0_MULTIPLE_APIC_DESCRIPTION_TABLE Madt = {
// Checksum will be updated at runtime
//
0x00,
-
+
//
// It is expected that these values will be programmed at runtime
//
' ', ' ', ' ', ' ', ' ', ' ',
-
+
0,
EFI_ACPI_OEM_MADT_REVISION,
0,
@@ -95,14 +95,14 @@ EFI_ACPI_1_0_MULTIPLE_APIC_DESCRIPTION_TABLE Madt = {
//
EFI_ACPI_LOCAL_APIC_ADDRESS,
EFI_ACPI_1_0_MULTIPLE_APIC_FLAGS,
-
+
//
// Processor Local APIC Structure
//
EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC, // Type
sizeof (EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC_STRUCTURE), // Length
- 0x01, // Processor ID
+ 0x00, // Processor ID
0x00, // Local APIC ID
0x00000001, // Flags - Enabled by default
@@ -148,7 +148,7 @@ ReferenceAcpiTable (
)
{
//
- // Reference the table being generated to prevent the optimizer from removing the
+ // Reference the table being generated to prevent the optimizer from removing the
// data structure from the exeutable
//
return (VOID*)&Madt;