3 Copyright (c) 1999 - 2007, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 #ifndef _BOOT_SCRIPT_SAVE_PROTOCOL_H
23 #define _BOOT_SCRIPT_SAVE_PROTOCOL_H
31 // Forward reference for pure ANSI compatability
33 EFI_FORWARD_DECLARATION (EFI_BOOT_SCRIPT_SAVE_PROTOCOL
);
36 // S3 Save Protocol GUID
38 #define EFI_BOOT_SCRIPT_SAVE_PROTOCOL_GUID \
40 0x470e1529, 0xb79e, 0x4e32, {0xa0, 0xfe, 0x6a, 0x15, 0x6d, 0x29, 0xf9, 0xb2} \
44 // Protocol Data Structures
48 (EFIAPI
*EFI_BOOT_SCRIPT_WRITE
) (
49 IN EFI_BOOT_SCRIPT_SAVE_PROTOCOL
* This
,
57 (EFIAPI
*EFI_BOOT_SCRIPT_CLOSE_TABLE
) (
58 IN EFI_BOOT_SCRIPT_SAVE_PROTOCOL
* This
,
60 OUT EFI_PHYSICAL_ADDRESS
* Address
64 // S3 Save Protocol data structure
66 struct _EFI_BOOT_SCRIPT_SAVE_PROTOCOL
{
67 EFI_BOOT_SCRIPT_WRITE Write
;
68 EFI_BOOT_SCRIPT_CLOSE_TABLE CloseTable
;
71 extern EFI_GUID gEfiBootScriptSaveGuid
;