diff options
author | jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-22 04:26:08 +0000 |
---|---|---|
committer | jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-22 04:26:08 +0000 |
commit | d766b22843bc2304cdb834eedc486ea3f1dd3335 (patch) | |
tree | bcffab11f221e9fe5a6db611423a4e129d25aaff /EdkCompatibilityPkg/Compatibility/Include | |
parent | 23228db3827140cea7be70a20bb62cbcd9636cd7 (diff) | |
download | edk2-platforms-d766b22843bc2304cdb834eedc486ea3f1dd3335.tar.xz |
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
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility/Include')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/Include/Guid/BootScriptThunkData.h | 31 |
1 files changed, 31 insertions, 0 deletions
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.<BR>
+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
|