From d766b22843bc2304cdb834eedc486ea3f1dd3335 Mon Sep 17 00:00:00 2001 From: jyao1 Date: Wed, 22 Dec 2010 04:26:08 +0000 Subject: Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11189 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Include/Guid/BootScriptThunkData.h | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 EdkCompatibilityPkg/Compatibility/Include/Guid/BootScriptThunkData.h (limited to 'EdkCompatibilityPkg/Compatibility/Include') diff --git a/EdkCompatibilityPkg/Compatibility/Include/Guid/BootScriptThunkData.h b/EdkCompatibilityPkg/Compatibility/Include/Guid/BootScriptThunkData.h new file mode 100644 index 0000000000..f0e6f5fee3 --- /dev/null +++ b/EdkCompatibilityPkg/Compatibility/Include/Guid/BootScriptThunkData.h @@ -0,0 +1,31 @@ +/** @file + Define Name, GUID and data format for an EFI PCD that is used to save the image base and size + of a code segment which will be loaded and executed by a boot script thunk on S3 boot path. + +Copyright (c) 2010, 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. + +**/ + +#ifndef _BOOT_SCRIPT_THUNK_VARIABLE_H_ +#define _BOOT_SCRIPT_THUNK_VARIABLE_H_ + +// +// The following structure boosts performance by combining structure all ACPI related variables into one. +// +#pragma pack(1) + +typedef struct { + EFI_PHYSICAL_ADDRESS BootScriptThunkBase; + EFI_PHYSICAL_ADDRESS BootScriptThunkLength; +} BOOT_SCRIPT_THUNK_DATA; + +#pragma pack() + +#endif -- cgit v1.2.3