summaryrefslogtreecommitdiff
path: root/EDK/Foundation/Framework/Ppi/S3Resume
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /EDK/Foundation/Framework/Ppi/S3Resume
downloadzprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'EDK/Foundation/Framework/Ppi/S3Resume')
-rw-r--r--EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.c29
-rw-r--r--EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.h44
2 files changed, 73 insertions, 0 deletions
diff --git a/EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.c b/EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.c
new file mode 100644
index 0000000..12b8e56
--- /dev/null
+++ b/EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.c
@@ -0,0 +1,29 @@
+/*++
+
+ Copyright (c) 2004, 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:
+
+ S3Resume.c
+
+Abstract:
+
+ Boot Script Executer PPI GUID as defined in Tiano
+
+--*/
+
+#include "Tiano.h"
+#include "PeiBind.h"
+#include "PeiApi.h"
+#include EFI_PPI_DEFINITION (S3Resume)
+
+EFI_GUID gPeiS3ResumePpiGuid = PEI_S3_RESUME_PPI_GUID;
+
+EFI_GUID_STRING(&gPeiS3ResumePpiGuid, "S3Resume", "S3 Resume PPI");
diff --git a/EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.h b/EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.h
new file mode 100644
index 0000000..43a2afb
--- /dev/null
+++ b/EDK/Foundation/Framework/Ppi/S3Resume/S3Resume.h
@@ -0,0 +1,44 @@
+/*++
+
+ Copyright (c) 2004, 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:
+
+ S3Resume.h
+
+Abstract:
+
+ S3 Resume PPI
+
+--*/
+
+#ifndef _PEI_S3_RESUME_PPI_H
+#define _PEI_S3_RESUME_PPI_H
+
+#define PEI_S3_RESUME_PPI_GUID \
+ { \
+ 0x4426CCB2, 0xE684, 0x4a8a, 0xAE, 0x40, 0x20, 0xD4, 0xB0, 0x25, 0xB7, 0x10 \
+ }
+
+EFI_FORWARD_DECLARATION (PEI_S3_RESUME_PPI);
+
+typedef
+EFI_STATUS
+(EFIAPI *PEI_S3_RESUME_PPI_RESTORE_CONFIG) (
+ IN EFI_PEI_SERVICES **PeiServices
+ );
+
+typedef struct _PEI_S3_RESUME_PPI {
+ PEI_S3_RESUME_PPI_RESTORE_CONFIG S3RestoreConfig;
+} PEI_S3_RESUME_PPI;
+
+extern EFI_GUID gPeiS3ResumePpiGuid;
+
+#endif