mirror of https://github.com/acidanthera/audk.git
add back AcpiS3Save.h and gEfiAcpiS3SaveProtocolGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3403 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5b0f196c66
commit
8f23e4e6d2
|
@ -0,0 +1,63 @@
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) 2006, Intel Corporation
|
||||||
|
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.
|
||||||
|
|
||||||
|
Module Name:
|
||||||
|
|
||||||
|
AcpiS3Save.h
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
#ifndef _ACPI_S3_SAVE_PROTOCOL_H
|
||||||
|
#define _ACPI_S3_SAVE_PROTOCOL_H
|
||||||
|
|
||||||
|
#include <PiDxe.h>
|
||||||
|
|
||||||
|
//
|
||||||
|
// Forward reference for pure ANSI compatability
|
||||||
|
//
|
||||||
|
typedef struct _EFI_ACPI_S3_SAVE_PROTOCOL EFI_ACPI_S3_SAVE_PROTOCOL;
|
||||||
|
|
||||||
|
//
|
||||||
|
// S3 Save Protocol GUID
|
||||||
|
//
|
||||||
|
#define EFI_ACPI_S3_SAVE_GUID \
|
||||||
|
{ \
|
||||||
|
0x125f2de1, 0xfb85, 0x440c, {0xa5, 0x4c, 0x4d, 0x99, 0x35, 0x8a, 0x8d, 0x38 } \
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Protocol Data Structures
|
||||||
|
//
|
||||||
|
typedef
|
||||||
|
EFI_STATUS
|
||||||
|
(EFIAPI *EFI_ACPI_S3_SAVE) (
|
||||||
|
IN EFI_ACPI_S3_SAVE_PROTOCOL * This,
|
||||||
|
IN VOID * LegacyMemoryAddress
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef
|
||||||
|
EFI_STATUS
|
||||||
|
(EFIAPI *EFI_ACPI_GET_LEGACY_MEMORY_SIZE) (
|
||||||
|
IN EFI_ACPI_S3_SAVE_PROTOCOL * This,
|
||||||
|
OUT UINTN * Size
|
||||||
|
);
|
||||||
|
|
||||||
|
struct _EFI_ACPI_S3_SAVE_PROTOCOL {
|
||||||
|
EFI_ACPI_GET_LEGACY_MEMORY_SIZE GetLegacyMemorySize;
|
||||||
|
EFI_ACPI_S3_SAVE S3Save;
|
||||||
|
};
|
||||||
|
|
||||||
|
extern EFI_GUID gEfiAcpiS3SaveProtocolGuid;
|
||||||
|
|
||||||
|
#endif
|
|
@ -55,6 +55,7 @@
|
||||||
gEfiSmmAccessProtocolGuid = {0x3792095a, 0xe309, 0x4c1e, {0xaa, 0x01, 0x85, 0xf5, 0x65, 0x5a, 0x17, 0xf1 }}
|
gEfiSmmAccessProtocolGuid = {0x3792095a, 0xe309, 0x4c1e, {0xaa, 0x01, 0x85, 0xf5, 0x65, 0x5a, 0x17, 0xf1 }}
|
||||||
|
|
||||||
[Protocols.common]
|
[Protocols.common]
|
||||||
|
gEfiAcpiS3SaveProtocolGuid = { 0x125F2DE1, 0xFB85, 0x440C, { 0xA5, 0x4C, 0x4D, 0x99, 0x35, 0x8A, 0x8D, 0x38 }}
|
||||||
gEfiAcpiSupportProtocolGuid = { 0xdbff9d55, 0x89b7, 0x46da, { 0xbd, 0xdf, 0x67, 0x7d, 0x3d, 0xc0, 0x24, 0x1d }}
|
gEfiAcpiSupportProtocolGuid = { 0xdbff9d55, 0x89b7, 0x46da, { 0xbd, 0xdf, 0x67, 0x7d, 0x3d, 0xc0, 0x24, 0x1d }}
|
||||||
gEfiBootScriptSaveProtocolGuid = { 0x470e1529, 0xb79e, 0x4e32, { 0xa0, 0xfe, 0x6a, 0x15, 0x6d, 0x29, 0xf9, 0xb2 }}
|
gEfiBootScriptSaveProtocolGuid = { 0x470e1529, 0xb79e, 0x4e32, { 0xa0, 0xfe, 0x6a, 0x15, 0x6d, 0x29, 0xf9, 0xb2 }}
|
||||||
gEfiLegacyBiosProtocolGuid = { 0xdb9a1e3d, 0x45cb, 0x4abb, { 0x85, 0xb3, 0xe5, 0x38, 0x7f, 0xdb, 0x2e, 0x2d }}
|
gEfiLegacyBiosProtocolGuid = { 0xdb9a1e3d, 0x45cb, 0x4abb, { 0x85, 0xb3, 0xe5, 0x38, 0x7f, 0xdb, 0x2e, 0x2d }}
|
||||||
|
|
Loading…
Reference in New Issue