diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage | |
download | zprj-master.tar.xz |
Diffstat (limited to 'ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage')
-rw-r--r-- | ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.c | 45 | ||||
-rw-r--r-- | ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.h | 50 |
2 files changed, 95 insertions, 0 deletions
diff --git a/ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.c b/ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.c new file mode 100644 index 0000000..5cac632 --- /dev/null +++ b/ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.c @@ -0,0 +1,45 @@ +/** @file + The GUID definition for SG ACPI table storage file name + +@copyright + Copyright (c) 2010 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains an 'Intel Peripheral Driver' and uniquely + identified as "Intel Reference Module" and is + licensed for Intel CPUs and chipsets under the terms of your + license agreement with Intel or your vendor. This file may + be modified by the user, subject to additional terms of the + license agreement +**/ +#include "EdkIIGlueDxe.h" +#include "SgAcpiTableStorage.h" + +/// +/// Protocol GUID definition for PEG Switchable Graphics +/// +EFI_GUID gSgAcpiTableStorageGuid = SG_ACPI_TABLE_STORAGE_GUID; + +/// +/// Protocol description for PEG Switchable Graphics +/// +EFI_GUID_STRING + (&gIntelSgAcpiTableStorageGuid, "SG ACPI Table Storage File Name", "SG ACPI Table Storage file name GUID"); + + +/// +/// Protocol GUID definition for PCH Switchable Graphics +/// +EFI_GUID gSgAcpiTablePchStorageGuid = SG_ACPI_TABLE_PCH_STORAGE_GUID; + +/// +/// Protocol description for PCH Switchable Graphics +/// +EFI_GUID_STRING + (&gSgAcpiTablePchStorageGuid, "SG ACPI Table Pch Storage File Name", "SG ACPI Table Pch Storage file name GUID"); diff --git a/ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.h b/ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.h new file mode 100644 index 0000000..4aa8d54 --- /dev/null +++ b/ReferenceCode/Chipset/SystemAgent/Guid/SgAcpiTableStorage/SgAcpiTableStorage.h @@ -0,0 +1,50 @@ +/** @file + GUID definition for the SG ACPI table storage file name + +@copyright + Copyright (c) 2010 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains an 'Intel Peripheral Driver' and uniquely + identified as "Intel Reference Module" and is + licensed for Intel CPUs and chipsets under the terms of your + license agreement with Intel or your vendor. This file may + be modified by the user, subject to additional terms of the + license agreement +**/ +#ifndef _SG_ACPI_TABLE_STORAGE_H_ +#define _SG_ACPI_TABLE_STORAGE_H_ + +/// +/// {CACB3817-81E6-497e-87FF-C8FA8F24EC28} +/// +#define SG_ACPI_TABLE_STORAGE_GUID \ + { \ + 0xcacb3817, 0x81e6, 0x497e, 0x87, 0xff, 0xc8, 0xfa, 0x8f, 0x24, 0xec, 0x28 \ + } + +extern EFI_GUID gSgAcpiTableStorageGuid; + +#endif + + +#ifndef _SG_ACPI_TABLE_PCH_STORAGE_H_ +#define _SG_ACPI_TABLE_PCH_STORAGE_H_ + +/// +/// {CBCB3817-81E6-497e-87FF-C8FA8F24EC28} +/// +#define SG_ACPI_TABLE_PCH_STORAGE_GUID \ + { \ + 0xcbcb3817, 0x81e6, 0x497e, 0x87, 0xff, 0xc8, 0xfa, 0x8f, 0x24, 0xec, 0x28 \ + } + +extern EFI_GUID gSgAcpiTablePchStorageGuid; + +#endif |