From 804405e7d10525e41720216137b2551f62a0663f Mon Sep 17 00:00:00 2001 From: eric_tian Date: Mon, 30 Jun 2008 05:08:49 +0000 Subject: Port EdkUnixPkg to UnixPkg. The changes are listed as follows: 1. change *.msa to *.inf, and create platform configuration files .dec&.dsc&.fdf to comply with Edk2 build process 2. using PCD mechanism to replace macro. 3. change Sec code to cowork with PI1.0 Pei Core and produce temparory memory ppi. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5380 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Sec/SecMain.inf | 76 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 UnixPkg/Sec/SecMain.inf (limited to 'UnixPkg/Sec/SecMain.inf') diff --git a/UnixPkg/Sec/SecMain.inf b/UnixPkg/Sec/SecMain.inf new file mode 100644 index 0000000000..37152b08e7 --- /dev/null +++ b/UnixPkg/Sec/SecMain.inf @@ -0,0 +1,76 @@ +#/** @file +# Entry Point of Unix Emulator +# +# Main executable file of Unix Emulator that loads PEI core after initialization finished. +# Copyright (c) 2008, 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. +# +# +#**/ + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = SecMain + FILE_GUID = f43be88c-8985-11db-8f78-0040d02b1835 + MODULE_TYPE = SEC + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + ENTRY_POINT = main + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# + +[Sources.common] + UgaX11.c + UnixThunk.c + FwVol.c + SecMain.c + Stack.S + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + IntelFrameworkPkg/IntelFrameworkPkg.dec + UnixPkg/UnixPkg.dec + +[LibraryClasses] + DebugLib + PcdLib + PrintLib + BaseMemoryLib + BaseLib + PeCoffLib + ReportStatusCodeLib + + +[Guids] + gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED + + +[Ppis] + gUnixPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED + gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED + gUnixFwhPpiGuid # PPI ALWAYS_PRODUCED + gPeiUnixAutoScanPpiGuid # PPI ALWAYS_PRODUCED + gPeiUnixThunkPpiGuid # PPI ALWAYS_PRODUCED + gEfiTemporaryRamSupportPpiGuid + + +[Pcd.common] + gEfiUnixPkgTokenSpaceGuid.PcdUnixBootMode + gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume + gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySizeForSecMain + gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize + +[BuildOptions.common] + GCC:*_*_IA32_DLINK_FLAGS = -- cgit v1.2.3