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/Haswell/Guid/PowerMgmtAcpiTableStorage | |
download | zprj-master.tar.xz |
Diffstat (limited to 'ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage')
-rw-r--r-- | ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.c | 40 | ||||
-rw-r--r-- | ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.h | 35 |
2 files changed, 75 insertions, 0 deletions
diff --git a/ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.c b/ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.c new file mode 100644 index 0000000..f8878dd --- /dev/null +++ b/ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.c @@ -0,0 +1,40 @@ +/** @file + The GUID definition for power management ACPI table storage file name + +@copyright + Copyright (c) 1999 - 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 +**/ + +/// +/// Statements that include other files +/// +#include "EdkIIGlueDxe.h" +#include "PowerMgmtAcpiTableStorage.h" + +/// +/// Protocol GUID definition +/// +EFI_GUID gPowerMgmtAcpiTableStorageGuid = POWER_MGMT_ACPI_TABLE_STORAGE_GUID; + +/// +/// Protocol description +/// +EFI_GUID_STRING +( + &gPowerMgmtAcpiTableStorageGuid, "Power Management ACPI Table Storage File Name", + "Power Management ACPI Table Storage file name GUID" +); diff --git a/ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.h b/ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.h new file mode 100644 index 0000000..fa96723 --- /dev/null +++ b/ReferenceCode/Haswell/Guid/PowerMgmtAcpiTableStorage/PowerMgmtAcpiTableStorage.h @@ -0,0 +1,35 @@ +/** @file + GUID definition for the Power Management ACPI table storage file name + +@copyright + Copyright (c) 1999 - 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 _POWER_MGMT_ACPI_TABLE_STORAGE_H_ +#define _POWER_MGMT_ACPI_TABLE_STORAGE_H_ + +/// +/// Power Mgmt policy provided by platform for ACPI Table Storage +/// {299141BB-211A-48a5-92C0-6F9A0A3A006E} +/// +#define POWER_MGMT_ACPI_TABLE_STORAGE_GUID \ + { \ + 0x299141bb, 0x211a, 0x48a5, 0x92, 0xc0, 0x6f, 0x9a, 0xa, 0x3a, 0x0, 0x6e \ + } + +extern EFI_GUID gPowerMgmtAcpiTableStorageGuid; + +#endif |