diff mbox

[Linaro-uefi,v4,27/56] Hisilicon: Remove unused ACPI files

Message ID 1479544691-59575-28-git-send-email-heyi.guo@linaro.org
State Accepted
Commit 9fd3a3f6e6e6c14e6303270c17d20a15a48d5c3d
Headers show

Commit Message

gary guo Nov. 19, 2016, 8:37 a.m. UTC
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
---
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl | 152 ---------------------
 .../Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl  |  39 ------
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc    |  81 -----------
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc    | 115 ----------------
 4 files changed, 387 deletions(-)
 delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl
 delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl
 delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc
 delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc

Comments

Leif Lindholm Nov. 29, 2016, 6:32 p.m. UTC | #1
On Sat, Nov 19, 2016 at 04:37:42PM +0800, Heyi Guo wrote:
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Heyi Guo <heyi.guo@linaro.org>

This is already safe on master, so:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Pushed as 9fd3a3f6e6e6c14e6303270c17d20a15a48d5c3d.

> ---
>  Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl | 152 ---------------------
>  .../Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl  |  39 ------
>  Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc    |  81 -----------
>  Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc    | 115 ----------------
>  4 files changed, 387 deletions(-)
>  delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl
>  delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl
>  delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc
>  delete mode 100644 Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc
> 
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl
> deleted file mode 100644
> index 4c3c642..0000000
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl
> +++ /dev/null
> @@ -1,152 +0,0 @@
> -/** @file
> -  Differentiated System Description Table Fields (DSDT)
> -
> -  Copyright (c) 2014, ARM Ltd. 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.
> -
> -**/
> -
> -Scope(_SB)
> -{
> -    Device(SAS0) {
> -          Name(_HID, "HISI0161")
> -    Name(_CCA, 1)
> -          Name(_CRS, ResourceTemplate() {
> -                  Memory32Fixed(ReadWrite, 0xc1000000, 0x10000)
> -                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
> -                  {
> -      //phy irq(0~79)
> -      259,263,264,
> -      269,273,274,
> -      279,283,284,
> -      289,293,294,
> -      299,303,304,
> -      309,313,314,
> -      319,323,324,
> -      329,333,334,
> -      }
> -
> -                  Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
> -                  {
> -      //cq irq (80~111)
> -      336,337,338,339,340,341,342,343,
> -      344,345,346,347,348,349,350,351,
> -      352,353,354,355,356,357,358,359,
> -      360,361,362,363,364,365,366,367,
> -      }
> -
> -                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
> -                  {
> -      376, //chip fatal error irq(120)
> -      381, //chip fatal error irq(125)
> -                  }
> -          })
> -
> -          Name (_DSD, Package () {
> -              ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> -              Package () {
> -                  Package () {"interrupt-parent",Package() {\_SB.MBI1}},
> -      Package (2) {"sas-addr", Package() {50, 01, 88, 20, 16, 00, 00, 0x0a}},
> -      Package () {"queue-count", 32},
> -      Package () {"phy-count", 8},
> -              }
> -          })
> -
> -    OperationRegion (CTL, SystemMemory, 0xC0000000, 0x10000)
> -    Field (CTL, AnyAcc, NoLock, Preserve)
> -    {
> -      Offset (0x338),
> -      CLK, 32,
> -      CLKD, 32,
> -      Offset (0xa60),
> -      RST, 32,
> -      DRST, 32,
> -      Offset (0x5a30),
> -      STS, 32,
> -    }
> -
> -    Method (_RST, 0x0, Serialized)
> -    {
> -      Store(0x7ffff, RST)
> -      Store(0x7ffff, CLKD)
> -      Sleep(1)
> -      Store(0x7ffff, DRST)
> -      Store(0x7ffff, CLK)
> -      Sleep(1)
> -    }
> -    }
> -
> -    Device(SAS1) {
> -          Name(_HID, "HISI0161")
> -    Name(_CCA, 1)
> -          Name(_CRS, ResourceTemplate() {
> -                  Memory32Fixed(ReadWrite, 0xb1000000, 0x10000)
> -                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
> -                  {
> -      //phy irq(0~79)
> -      259,263,264,
> -      269,273,274,
> -      279,283,284,
> -      289,293,294,
> -      299,303,304,
> -      309,313,314,
> -      319,323,324,
> -      329,333,334,
> -      }
> -
> -                  Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
> -                  {
> -      //cq irq (80~111)
> -      336,337,338,339,340,341,342,343,
> -      344,345,346,347,348,349,350,351,
> -      352,353,354,355,356,357,358,359,
> -      360,361,362,363,364,365,366,367,
> -      }
> -
> -                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
> -                  {
> -      376, //chip fatal error irq(120)
> -      381, //chip fatal error irq(125)
> -                  }
> -          })
> -
> -          Name (_DSD, Package () {
> -              ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> -              Package () {
> -                  Package () {"interrupt-parent",Package() {\_SB.MBI3}},
> -      Package (2) {"sas-addr", Package() {50, 01, 88, 20, 16, 00, 00, 00}},
> -      Package () {"queue-count", 32},
> -      Package () {"phy-count", 8},
> -              }
> -          })
> -
> -    OperationRegion (CTL, SystemMemory, 0xB0000000, 0x10000)
> -    Field (CTL, AnyAcc, NoLock, Preserve)
> -    {
> -      Offset (0x318),
> -      CLK, 32,
> -      CLKD, 32,
> -      Offset (0xa18),
> -      RST, 32,
> -      DRST, 32,
> -      Offset (0x5a0c),
> -      STS, 32,
> -    }
> -
> -    Method (_RST, 0x0, Serialized)
> -    {
> -      Store(0x7ffff, RST)
> -      Store(0x7ffff, CLKD)
> -      Sleep(1)
> -      Store(0x7ffff, DRST)
> -      Store(0x7ffff, CLK)
> -      Sleep(1)
> -    }
> -    }
> -}
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl
> deleted file mode 100644
> index 9ad2d96..0000000
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl
> +++ /dev/null
> @@ -1,39 +0,0 @@
> -/** @file
> -*
> -*  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
> -*  Copyright (c) 2015, Hisilicon Limited. All rights reserved.
> -*  Copyright (c) 2015, Linaro Limited. All rights reserved.
> -*
> -*  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.
> -*
> -*  Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/
> -*
> -**/
> -
> -//
> -// SATA AHCI
> -//
> -
> -Device (AHCI)
> -{
> -  Name(_HID, "HISI0001")  // HiSi AHCI
> -  Name (_CCA, 1)           // Cache-coherent controller
> -  Name (_CRS, ResourceTemplate () {
> -    Memory32Fixed (ReadWrite, 0xb1002800, 0x00000B00)
> -    Memory32Fixed (ReadWrite, 0xb1000000, 0x00002800)
> -    Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,,,) { 382 }
> -  })
> -
> -  Name (_DSD, Package () {
> -    ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> -    Package () {
> -      Package () {"interrupt-parent",Package() {\_SB.MBI3}}
> -    }
> -  })
> -}
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc
> deleted file mode 100644
> index 2fa2959..0000000
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc
> +++ /dev/null
> @@ -1,81 +0,0 @@
> -/*
> - * Copyright (c) 2013 Linaro Limited
> - *
> - * All rights reserved. This program and the accompanying materials
> - * are made available under the terms of the BSD License which accompanies
> - * this distribution, and is available at
> - * http://opensource.org/licenses/bsd-license.php
> - *
> - * Contributors:
> - *     Yi Li - yi.li@linaro.org
> -*/
> -
> -#include <IndustryStandard/Acpi.h>
> -#include "Pv660Platform.h"
> -
> -#define EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT 0x0000000000000014
> -
> -#pragma pack(1)
> -typedef struct {
> -  UINT8   Entry[EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT];
> -} EFI_ACPI_5_0_NUMBER_OF_SYSTEM_LOCALITIES_STRUCTURE;
> -
> -typedef struct {
> -  EFI_ACPI_5_0_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER    Header;
> -  EFI_ACPI_5_0_NUMBER_OF_SYSTEM_LOCALITIES_STRUCTURE                NumSlit[EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT];
> -
> -} EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE;
> -#pragma pack()
> -
> -//
> -// System Locality Information Table
> -// Please modify all values in Slit.h only.
> -//
> -EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE Slit = {
> -  {
> -    {
> -      EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE,
> -      sizeof (EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE),
> -      EFI_ACPI_5_0_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION,
> -      0x00,                                                     // Checksum will be updated at runtime
> -      {EFI_ACPI_ARM_OEM_ID},
> -      EFI_ACPI_ARM_OEM_TABLE_ID,
> -      EFI_ACPI_ARM_OEM_REVISION,
> -      EFI_ACPI_ARM_CREATOR_ID,
> -      EFI_ACPI_ARM_CREATOR_REVISION,
> -    },
> -    //
> -    // Beginning of SLIT specific fields
> -    //
> -    EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT,
> -  },
> -  {
> -    {{0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27}}, //Locality   0
> -    {{0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26}}, //Locality   1
> -    {{0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25}}, //Locality   2
> -    {{0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24}}, //Locality   3
> -    {{0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23}}, //Locality   4
> -    {{0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22}}, //Locality   5
> -    {{0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21}}, //Locality   6
> -    {{0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20}}, //Locality   7
> -    {{0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F}}, //Locality   8
> -    {{0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E}}, //Locality   9
> -    {{0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D}}, //Locality   10
> -    {{0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C}}, //Locality   11
> -    {{0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B}}, //Locality   12
> -    {{0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A}}, //Locality   13
> -    {{0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19}}, //Locality   14
> -    {{0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18}}, //Locality   15
> -    {{0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17}}, //Locality   16
> -    {{0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16}}, //Locality   17
> -    {{0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10}}, //Locality   18
> -    {{0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A}}, //Locality   19
> -  },
> -};
> -
> -//
> -// Reference the table being generated to prevent the optimizer from removing the
> -// data structure from the executable
> -//
> -VOID* CONST ReferenceAcpiTable = &Slit;
> -
> diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc
> deleted file mode 100644
> index 1d38191..0000000
> --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc
> +++ /dev/null
> @@ -1,115 +0,0 @@
> -/*
> - * Copyright (c) 2013 Linaro Limited
> - *
> - * All rights reserved. This program and the accompanying materials
> - * are made available under the terms of the BSD License which accompanies
> - * this distribution, and is available at
> - * http://opensource.org/licenses/bsd-license.php
> - *
> - * Contributors:
> - *     Yi Li - yi.li@linaro.org
> - *
> - *  Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/
> -*/
> -
> -#include <IndustryStandard/Acpi.h>
> -#include "Pv660Platform.h"
> -#include <Library/AcpiLib.h>
> -#include <Library/AcpiNextLib.h>
> -
> -
> -//
> -// Define the number of each table type.
> -// This is where the table layout is modified.
> -//
> -#define EFI_ACPI_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE_COUNT  4
> -#define EFI_ACPI_MEMORY_AFFINITY_STRUCTURE_COUNT                      4
> -
> -
> -#pragma pack(1)
> -typedef struct {
> -  EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER          Header;
> -  EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE  Apic;
> -  EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE                      Memory[2];
> -  EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE                        GICC[16];
> -} EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE;
> -
> -#pragma pack()
> -
> -
> -//
> -// Static Resource Affinity Table definition
> -//
> -EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE Srat = {
> -  {
> -    {EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE,
> -    sizeof (EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE),
> -    EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION,
> -    0x00,                                                     // Checksum will be updated at runtime
> -    {EFI_ACPI_ARM_OEM_ID},
> -    EFI_ACPI_ARM_OEM_TABLE_ID,
> -    EFI_ACPI_ARM_OEM_REVISION,
> -    EFI_ACPI_ARM_CREATOR_ID,
> -    EFI_ACPI_ARM_CREATOR_REVISION},
> -    /*Reserved*/
> -    0x00000001,                                  // Reserved to be 1 for backward compatibility
> -    EFI_ACPI_RESERVED_QWORD
> -  },
> -  /**/
> -  {
> -      0x00,                                     // Subtable Type:Processor Local APIC/SAPIC Affinity
> -      sizeof(EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE),                                     //Length
> -      0x00,                                     //Proximity Domain Low(8)
> -      0x00,                                     //Apic ID
> -      0x00000001,                               //Flags
> -      0x00,                                     //Local Sapic EID
> -      {0,0,0},                                     //Proximity Domain High(24)
> -      0x00000000,                               //ClockDomain
> -  },
> -  //
> -  //
> -  // Memory Affinity
> -  //
> -  {
> -    EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000000,0x00000000,0x40000000,0x00000000,0x00000001),
> -    EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE_INIT(0x00000000,0x40000000,0x00000002,0xC0000000,0x00000001,0x00000001),
> -  },
> -
> -  /*Processor Local x2APIC Affinity*/
> -  //{
> -  //   0x02,                                              // Subtable Type:Processor Local x2APIC Affinity
> -  //   sizeof(EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE),
> -  //   {0,0},                                             //Reserved1
> -  //   0x00000000,                                        //Proximity Domain
> -  //   0x00000000,                                        //Apic ID
> -  //   0x00000001,                                        //Flags
> -  //   0x00000000,                                        //Clock Domain
> -  //   {0,0,0,0},                                         //Reserved2
> -  //},
> -
> -  {
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000000,0x00000001,0x00000000),   //GICC Affinity Processor 0
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000001,0x00000001,0x00000000),   //GICC Affinity Processor 1
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000002,0x00000001,0x00000000),   //GICC Affinity Processor 2
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000003,0x00000001,0x00000000),   //GICC Affinity Processor 3
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000004,0x00000001,0x00000000),   //GICC Affinity Processor 4
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000005,0x00000001,0x00000000),   //GICC Affinity Processor 5
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000006,0x00000001,0x00000000),   //GICC Affinity Processor 6
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000007,0x00000001,0x00000000),   //GICC Affinity Processor 7
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000008,0x00000001,0x00000000),   //GICC Affinity Processor 8
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000009,0x00000001,0x00000000),   //GICC Affinity Processor 9
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000A,0x00000001,0x00000000),   //GICC Affinity Processor 10
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000B,0x00000001,0x00000000),   //GICC Affinity Processor 11
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000C,0x00000001,0x00000000),   //GICC Affinity Processor 12
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000D,0x00000001,0x00000000),   //GICC Affinity Processor 13
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000E,0x00000001,0x00000000),   //GICC Affinity Processor 14
> -    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000F,0x00000001,0x00000000)    //GICC Affinity Processor 15
> -  },
> -};
> -
> -//
> -// Reference the table being generated to prevent the optimizer from removing the
> -// data structure from the executable
> -//
> -VOID* CONST ReferenceAcpiTable = &Srat;
> -
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl
deleted file mode 100644
index 4c3c642..0000000
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sas.asl
+++ /dev/null
@@ -1,152 +0,0 @@ 
-/** @file
-  Differentiated System Description Table Fields (DSDT)
-
-  Copyright (c) 2014, ARM Ltd. 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.
-
-**/
-
-Scope(_SB)
-{
-    Device(SAS0) {
-          Name(_HID, "HISI0161")
-    Name(_CCA, 1)
-          Name(_CRS, ResourceTemplate() {
-                  Memory32Fixed(ReadWrite, 0xc1000000, 0x10000)
-                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
-                  {
-      //phy irq(0~79)
-      259,263,264,
-      269,273,274,
-      279,283,284,
-      289,293,294,
-      299,303,304,
-      309,313,314,
-      319,323,324,
-      329,333,334,
-      }
-
-                  Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
-                  {
-      //cq irq (80~111)
-      336,337,338,339,340,341,342,343,
-      344,345,346,347,348,349,350,351,
-      352,353,354,355,356,357,358,359,
-      360,361,362,363,364,365,366,367,
-      }
-
-                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
-                  {
-      376, //chip fatal error irq(120)
-      381, //chip fatal error irq(125)
-                  }
-          })
-
-          Name (_DSD, Package () {
-              ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
-              Package () {
-                  Package () {"interrupt-parent",Package() {\_SB.MBI1}},
-      Package (2) {"sas-addr", Package() {50, 01, 88, 20, 16, 00, 00, 0x0a}},
-      Package () {"queue-count", 32},
-      Package () {"phy-count", 8},
-              }
-          })
-
-    OperationRegion (CTL, SystemMemory, 0xC0000000, 0x10000)
-    Field (CTL, AnyAcc, NoLock, Preserve)
-    {
-      Offset (0x338),
-      CLK, 32,
-      CLKD, 32,
-      Offset (0xa60),
-      RST, 32,
-      DRST, 32,
-      Offset (0x5a30),
-      STS, 32,
-    }
-
-    Method (_RST, 0x0, Serialized)
-    {
-      Store(0x7ffff, RST)
-      Store(0x7ffff, CLKD)
-      Sleep(1)
-      Store(0x7ffff, DRST)
-      Store(0x7ffff, CLK)
-      Sleep(1)
-    }
-    }
-
-    Device(SAS1) {
-          Name(_HID, "HISI0161")
-    Name(_CCA, 1)
-          Name(_CRS, ResourceTemplate() {
-                  Memory32Fixed(ReadWrite, 0xb1000000, 0x10000)
-                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
-                  {
-      //phy irq(0~79)
-      259,263,264,
-      269,273,274,
-      279,283,284,
-      289,293,294,
-      299,303,304,
-      309,313,314,
-      319,323,324,
-      329,333,334,
-      }
-
-                  Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
-                  {
-      //cq irq (80~111)
-      336,337,338,339,340,341,342,343,
-      344,345,346,347,348,349,350,351,
-      352,353,354,355,356,357,358,359,
-      360,361,362,363,364,365,366,367,
-      }
-
-                  Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
-                  {
-      376, //chip fatal error irq(120)
-      381, //chip fatal error irq(125)
-                  }
-          })
-
-          Name (_DSD, Package () {
-              ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
-              Package () {
-                  Package () {"interrupt-parent",Package() {\_SB.MBI3}},
-      Package (2) {"sas-addr", Package() {50, 01, 88, 20, 16, 00, 00, 00}},
-      Package () {"queue-count", 32},
-      Package () {"phy-count", 8},
-              }
-          })
-
-    OperationRegion (CTL, SystemMemory, 0xB0000000, 0x10000)
-    Field (CTL, AnyAcc, NoLock, Preserve)
-    {
-      Offset (0x318),
-      CLK, 32,
-      CLKD, 32,
-      Offset (0xa18),
-      RST, 32,
-      DRST, 32,
-      Offset (0x5a0c),
-      STS, 32,
-    }
-
-    Method (_RST, 0x0, Serialized)
-    {
-      Store(0x7ffff, RST)
-      Store(0x7ffff, CLKD)
-      Sleep(1)
-      Store(0x7ffff, DRST)
-      Store(0x7ffff, CLK)
-      Sleep(1)
-    }
-    }
-}
diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl
deleted file mode 100644
index 9ad2d96..0000000
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Sata.asl
+++ /dev/null
@@ -1,39 +0,0 @@ 
-/** @file
-*
-*  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
-*  Copyright (c) 2015, Hisilicon Limited. All rights reserved.
-*  Copyright (c) 2015, Linaro Limited. All rights reserved.
-*
-*  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.
-*
-*  Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/
-*
-**/
-
-//
-// SATA AHCI
-//
-
-Device (AHCI)
-{
-  Name(_HID, "HISI0001")  // HiSi AHCI
-  Name (_CCA, 1)           // Cache-coherent controller
-  Name (_CRS, ResourceTemplate () {
-    Memory32Fixed (ReadWrite, 0xb1002800, 0x00000B00)
-    Memory32Fixed (ReadWrite, 0xb1000000, 0x00002800)
-    Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,,,) { 382 }
-  })
-
-  Name (_DSD, Package () {
-    ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
-    Package () {
-      Package () {"interrupt-parent",Package() {\_SB.MBI3}}
-    }
-  })
-}
diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc
deleted file mode 100644
index 2fa2959..0000000
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Slit.aslc
+++ /dev/null
@@ -1,81 +0,0 @@ 
-/*
- * Copyright (c) 2013 Linaro Limited
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the BSD License which accompanies
- * this distribution, and is available at
- * http://opensource.org/licenses/bsd-license.php
- *
- * Contributors:
- *     Yi Li - yi.li@linaro.org
-*/
-
-#include <IndustryStandard/Acpi.h>
-#include "Pv660Platform.h"
-
-#define EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT 0x0000000000000014
-
-#pragma pack(1)
-typedef struct {
-  UINT8   Entry[EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT];
-} EFI_ACPI_5_0_NUMBER_OF_SYSTEM_LOCALITIES_STRUCTURE;
-
-typedef struct {
-  EFI_ACPI_5_0_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER    Header;
-  EFI_ACPI_5_0_NUMBER_OF_SYSTEM_LOCALITIES_STRUCTURE                NumSlit[EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT];
-
-} EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE;
-#pragma pack()
-
-//
-// System Locality Information Table
-// Please modify all values in Slit.h only.
-//
-EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE Slit = {
-  {
-    {
-      EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE,
-      sizeof (EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE),
-      EFI_ACPI_5_0_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION,
-      0x00,                                                     // Checksum will be updated at runtime
-      {EFI_ACPI_ARM_OEM_ID},
-      EFI_ACPI_ARM_OEM_TABLE_ID,
-      EFI_ACPI_ARM_OEM_REVISION,
-      EFI_ACPI_ARM_CREATOR_ID,
-      EFI_ACPI_ARM_CREATOR_REVISION,
-    },
-    //
-    // Beginning of SLIT specific fields
-    //
-    EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT,
-  },
-  {
-    {{0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27}}, //Locality   0
-    {{0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26}}, //Locality   1
-    {{0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25}}, //Locality   2
-    {{0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24}}, //Locality   3
-    {{0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23}}, //Locality   4
-    {{0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22}}, //Locality   5
-    {{0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21}}, //Locality   6
-    {{0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20}}, //Locality   7
-    {{0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F}}, //Locality   8
-    {{0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E}}, //Locality   9
-    {{0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D}}, //Locality   10
-    {{0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C}}, //Locality   11
-    {{0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B}}, //Locality   12
-    {{0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A}}, //Locality   13
-    {{0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17, 0x18, 0x19}}, //Locality   14
-    {{0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16, 0x17, 0x18}}, //Locality   15
-    {{0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10, 0x16, 0x17}}, //Locality   16
-    {{0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A, 0x15, 0x16}}, //Locality   17
-    {{0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x0A, 0x10}}, //Locality   18
-    {{0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x10, 0x0A}}, //Locality   19
-  },
-};
-
-//
-// Reference the table being generated to prevent the optimizer from removing the
-// data structure from the executable
-//
-VOID* CONST ReferenceAcpiTable = &Slit;
-
diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc
deleted file mode 100644
index 1d38191..0000000
--- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Srat.aslc
+++ /dev/null
@@ -1,115 +0,0 @@ 
-/*
- * Copyright (c) 2013 Linaro Limited
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the BSD License which accompanies
- * this distribution, and is available at
- * http://opensource.org/licenses/bsd-license.php
- *
- * Contributors:
- *     Yi Li - yi.li@linaro.org
- *
- *  Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/
-*/
-
-#include <IndustryStandard/Acpi.h>
-#include "Pv660Platform.h"
-#include <Library/AcpiLib.h>
-#include <Library/AcpiNextLib.h>
-
-
-//
-// Define the number of each table type.
-// This is where the table layout is modified.
-//
-#define EFI_ACPI_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE_COUNT  4
-#define EFI_ACPI_MEMORY_AFFINITY_STRUCTURE_COUNT                      4
-
-
-#pragma pack(1)
-typedef struct {
-  EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER          Header;
-  EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE  Apic;
-  EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE                      Memory[2];
-  EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE                        GICC[16];
-} EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE;
-
-#pragma pack()
-
-
-//
-// Static Resource Affinity Table definition
-//
-EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE Srat = {
-  {
-    {EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE,
-    sizeof (EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE),
-    EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION,
-    0x00,                                                     // Checksum will be updated at runtime
-    {EFI_ACPI_ARM_OEM_ID},
-    EFI_ACPI_ARM_OEM_TABLE_ID,
-    EFI_ACPI_ARM_OEM_REVISION,
-    EFI_ACPI_ARM_CREATOR_ID,
-    EFI_ACPI_ARM_CREATOR_REVISION},
-    /*Reserved*/
-    0x00000001,                                  // Reserved to be 1 for backward compatibility
-    EFI_ACPI_RESERVED_QWORD
-  },
-  /**/
-  {
-      0x00,                                     // Subtable Type:Processor Local APIC/SAPIC Affinity
-      sizeof(EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE),                                     //Length
-      0x00,                                     //Proximity Domain Low(8)
-      0x00,                                     //Apic ID
-      0x00000001,                               //Flags
-      0x00,                                     //Local Sapic EID
-      {0,0,0},                                     //Proximity Domain High(24)
-      0x00000000,                               //ClockDomain
-  },
-  //
-  //
-  // Memory Affinity
-  //
-  {
-    EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000000,0x00000000,0x40000000,0x00000000,0x00000001),
-    EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE_INIT(0x00000000,0x40000000,0x00000002,0xC0000000,0x00000001,0x00000001),
-  },
-
-  /*Processor Local x2APIC Affinity*/
-  //{
-  //   0x02,                                              // Subtable Type:Processor Local x2APIC Affinity
-  //   sizeof(EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE),
-  //   {0,0},                                             //Reserved1
-  //   0x00000000,                                        //Proximity Domain
-  //   0x00000000,                                        //Apic ID
-  //   0x00000001,                                        //Flags
-  //   0x00000000,                                        //Clock Domain
-  //   {0,0,0,0},                                         //Reserved2
-  //},
-
-  {
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000000,0x00000001,0x00000000),   //GICC Affinity Processor 0
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000001,0x00000001,0x00000000),   //GICC Affinity Processor 1
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000002,0x00000001,0x00000000),   //GICC Affinity Processor 2
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000003,0x00000001,0x00000000),   //GICC Affinity Processor 3
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000004,0x00000001,0x00000000),   //GICC Affinity Processor 4
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000005,0x00000001,0x00000000),   //GICC Affinity Processor 5
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000006,0x00000001,0x00000000),   //GICC Affinity Processor 6
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000007,0x00000001,0x00000000),   //GICC Affinity Processor 7
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000008,0x00000001,0x00000000),   //GICC Affinity Processor 8
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x00000009,0x00000001,0x00000000),   //GICC Affinity Processor 9
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000A,0x00000001,0x00000000),   //GICC Affinity Processor 10
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000B,0x00000001,0x00000000),   //GICC Affinity Processor 11
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000C,0x00000001,0x00000000),   //GICC Affinity Processor 12
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000D,0x00000001,0x00000000),   //GICC Affinity Processor 13
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000E,0x00000001,0x00000000),   //GICC Affinity Processor 14
-    EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE_INIT(0x00000000,0x0000000F,0x00000001,0x00000000)    //GICC Affinity Processor 15
-  },
-};
-
-//
-// Reference the table being generated to prevent the optimizer from removing the
-// data structure from the executable
-//
-VOID* CONST ReferenceAcpiTable = &Srat;
-