diff options
author | Steven Kinney <steven.kinney@linaro.org> | 2013-10-21 07:37:32 -0500 |
---|---|---|
committer | Steven Kinney <steven.kinney@linaro.org> | 2013-10-21 07:37:32 -0500 |
commit | e08b4a7ea684e3358f0281da5e23ae03b1b14116 (patch) | |
tree | 1d3ad6bb93ab82e377e189adefe73f98acc52778 /ArmPkg/Drivers/AcpiTables/rtsm_ve-v7/Oem0.aslc | |
parent | 3eb2841f04022a94eb29270952e1d4e712ef5f90 (diff) | |
parent | e367d13b1c01d96d7976147a6647874a7d8b10ef (diff) |
Merging uefi-next/linaro-release into masterlinaro-uefi-2013.10-01
Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
Diffstat (limited to 'ArmPkg/Drivers/AcpiTables/rtsm_ve-v7/Oem0.aslc')
-rw-r--r-- | ArmPkg/Drivers/AcpiTables/rtsm_ve-v7/Oem0.aslc | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ArmPkg/Drivers/AcpiTables/rtsm_ve-v7/Oem0.aslc b/ArmPkg/Drivers/AcpiTables/rtsm_ve-v7/Oem0.aslc new file mode 100644 index 000000000..2e84daf4a --- /dev/null +++ b/ArmPkg/Drivers/AcpiTables/rtsm_ve-v7/Oem0.aslc @@ -0,0 +1,48 @@ +/* + * 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 <Platform.h> + +#define EFI_ACPI_5_0_OEM0_SIGNATURE SIGNATURE_32('O', 'E', 'M', '0') +#define ACPI_5_0_OEM0_REVISION 0x1 + +typedef struct{ + EFI_ACPI_DESCRIPTION_HEADER Header; +}EFI_ACPI_5_0_OEM0_TABLE; + +EFI_ACPI_5_0_OEM0_TABLE Oem0= +{ + { + EFI_ACPI_5_0_OEM0_SIGNATURE, + sizeof (EFI_ACPI_5_0_OEM0_TABLE), + ACPI_5_0_OEM0_REVISION, + 0x00, // Checksum will be updated at runtime + {EFI_ACPI_OEM_ID}, + EFI_ACPI_OEM_TABLE_ID, + 0x0000000A, + EFI_ACPI_CREATOR_ID, + EFI_ACPI_CREATOR_REVISION + }, +}; + +VOID* +ReferenceAcpiTable ( + VOID + ) +{ + // + // Reference the table being generated to prevent the optimizer from removing the + // data structure from the exeutable + // + return (VOID*)&Oem0; +} |