From 54ea99a798f7d714b59503fcc21ee97878bc6492 Mon Sep 17 00:00:00 2001 From: jchen20 Date: Fri, 5 Feb 2010 07:54:16 +0000 Subject: Enable the Load Module At fixed Address feature git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9937 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Include/Guid/LoadModuleAtFixedAddress.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 MdeModulePkg/Include/Guid/LoadModuleAtFixedAddress.h (limited to 'MdeModulePkg/Include') diff --git a/MdeModulePkg/Include/Guid/LoadModuleAtFixedAddress.h b/MdeModulePkg/Include/Guid/LoadModuleAtFixedAddress.h new file mode 100644 index 0000000000..90bb246de9 --- /dev/null +++ b/MdeModulePkg/Include/Guid/LoadModuleAtFixedAddress.h @@ -0,0 +1,34 @@ +/** @file + This file defines: + A configuration Table Guid for Load module at fixed address. + This configuration table is to hold the top address below which the Dxe runtime code and + boot time code will be loaded and Tseg base. When this feature is enabled, Build tools will assigned + module loading address relative to these 2 address. + + +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 __LOAD_MODULE_AT_FIX_ADDRESS_GUID_H__ +#define __LOAD_MODULE_AT_FIX_ADDRESS_GUID_H__ + +#define EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE_GUID \ + { 0x2CA88B53,0xD296,0x4080, { 0xA4,0xA5,0xCA,0xD9,0xBA,0xE2,0x4B,0x9} } + + +extern EFI_GUID gLoadFixedAddressConfigurationTableGuid; + +typedef struct { + EFI_PHYSICAL_ADDRESS DxeCodeTopAddress; ///< The top address below which the Dxe runtime code and below which the Dxe runtime/boot code and PEI code. + EFI_PHYSICAL_ADDRESS TsegBase; ///< Tseg base. build tool will assigned an offset relative to Tseg base to SMM driver +} EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE; + +#endif -- cgit v1.2.3