blob: 7048f68212a1e61c0a5f04684a854d7962077c42 [file] [log] [blame]
eric_tian804405e2008-06-30 05:08:49 +00001#/** @file
2# Entry Point of Unix Emulator
3#
4# Main executable file of Unix Emulator that loads PEI core after initialization finished.
5# Copyright (c) 2008, Intel Corporation
6#
7# All rights reserved. This program and the accompanying materials
8# are licensed and made available under the terms and conditions of the BSD License
9# which accompanies this distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#
15#**/
16
17[Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = SecMain
20 FILE_GUID = f43be88c-8985-11db-8f78-0040d02b1835
eric_tian73aa7f02008-07-16 05:28:50 +000021 MODULE_TYPE = USER_DEFINED
eric_tian804405e2008-06-30 05:08:49 +000022 VERSION_STRING = 1.0
23 EDK_RELEASE_VERSION = 0x00020000
24 EFI_SPECIFICATION_VERSION = 0x00020000
25 ENTRY_POINT = main
26
27#
28# The following information is for reference only and not required by the build tools.
29#
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC
31#
32
33[Sources.common]
34 UgaX11.c
35 UnixThunk.c
36 FwVol.c
37 SecMain.c
38 Stack.S
39
40[Packages]
41 MdePkg/MdePkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43 IntelFrameworkPkg/IntelFrameworkPkg.dec
44 UnixPkg/UnixPkg.dec
45
46[LibraryClasses]
47 DebugLib
48 PcdLib
49 PrintLib
50 BaseMemoryLib
51 BaseLib
52 PeCoffLib
53 ReportStatusCodeLib
54
55
56[Guids]
57 gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED
58
59
60[Ppis]
61 gUnixPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED
62 gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED
63 gUnixFwhPpiGuid # PPI ALWAYS_PRODUCED
64 gPeiUnixAutoScanPpiGuid # PPI ALWAYS_PRODUCED
65 gPeiUnixThunkPpiGuid # PPI ALWAYS_PRODUCED
66 gEfiTemporaryRamSupportPpiGuid
67
68
69[Pcd.common]
70 gEfiUnixPkgTokenSpaceGuid.PcdUnixBootMode
71 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume
72 gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySizeForSecMain
73 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize
74
75[BuildOptions.common]
jwang363c5a8c12009-02-20 02:09:56 +000076 GCC:*_*_IA32_DLINK_FLAGS == -o $(BIN_DIR)/SecMain.exe -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o -L/usr/X11R6/lib -lXext -lX11 /usr/lib/crtn.o
77 GCC:*_*_*_DLINK2_FLAGS == -lc
78 GCC:*_*_IA32_CC_FLAGS == -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -idirafter/usr/include -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
79 GCC:*_*_IA32_PP_FLAGS == -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
80 GCC:*_*_IA32_ASM_FLAGS == -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h