]>
Commit | Line | Data |
---|---|---|
2e19fd0f | 1 | #/** @file\r |
2 | # Entry Point of NT32 Emulator\r | |
3 | #\r | |
4 | # Main executable file of NT32 Emulator that loads PEI core after initialization finished.\r | |
2e19fd0f | 5 | #\r |
d0dc913e | 6 | # Copyright (c) 2007, Intel Corporation\r |
2e19fd0f | 7 | # All rights reserved. This program and the accompanying materials\r |
8 | # are licensed and made available under the terms and conditions of the BSD License\r | |
9 | # which accompanies this distribution. The full text of the license may be found at\r | |
10 | # http://opensource.org/licenses/bsd-license.php\r | |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | #\r | |
2e19fd0f | 14 | #**/\r |
15 | \r | |
2e19fd0f | 16 | [Defines]\r |
17 | INF_VERSION = 0x00010005\r | |
18 | BASE_NAME = SecMain\r | |
19 | FILE_GUID = 4b837b03-6587-4d19-b82b-edfad836c0a0\r | |
4a561bc1 | 20 | MODULE_TYPE = USER_DEFINED\r |
2e19fd0f | 21 | VERSION_STRING = 1.0\r |
22 | EDK_RELEASE_VERSION = 0x00020000\r | |
23 | EFI_SPECIFICATION_VERSION = 0x00020000\r | |
2e19fd0f | 24 | \r |
25 | #\r | |
26 | # The following information is for reference only and not required by the build tools.\r | |
27 | #\r | |
28 | # VALID_ARCHITECTURES = IA32\r | |
29 | #\r | |
30 | \r | |
2e19fd0f | 31 | [Sources.common]\r |
32 | OldDefinition.h\r | |
33 | SecMain.h\r | |
34 | WinNtThunk.c\r | |
35 | FwVol.c\r | |
36 | SecMain.c\r | |
2e19fd0f | 37 | \r |
2e19fd0f | 38 | [Packages]\r |
2e19fd0f | 39 | MdePkg/MdePkg.dec\r |
d0dc913e A |
40 | MdeModulePkg/MdeModulePkg.dec\r |
41 | Nt32Pkg/Nt32Pkg.dec\r | |
2e19fd0f | 42 | \r |
2e19fd0f | 43 | [LibraryClasses]\r |
44 | DebugLib\r | |
45 | PcdLib\r | |
46 | PrintLib\r | |
47 | BaseMemoryLib\r | |
48 | BaseLib\r | |
49 | PeCoffLib\r | |
d0dc913e | 50 | ReportStatusCodeLib\r |
2e19fd0f | 51 | \r |
2e19fd0f | 52 | [Guids]\r |
53 | gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED\r | |
54 | \r | |
55 | \r | |
2e19fd0f | 56 | [Ppis]\r |
57 | gNtPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED\r | |
58 | gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED\r | |
59 | gNtFwhPpiGuid # PPI ALWAYS_PRODUCED\r | |
60 | gPeiNtAutoScanPpiGuid # PPI ALWAYS_PRODUCED\r | |
61 | gPeiNtThunkPpiGuid # PPI ALWAYS_PRODUCED\r | |
62 | \r | |
63 | \r | |
2e19fd0f | 64 | [PcdsFixedAtBuild.common]\r |
65 | PcdWinNtBootMode|gEfiNt32PkgTokenSpaceGuid\r | |
66 | \r | |
67 | \r | |
2e19fd0f | 68 | [PcdsDynamic.common]\r |
69 | #PcdWinNtMemorySizeForSecMain|gEfiNt32PkgTokenSpaceGuid\r | |
70 | #PcdWinNtFirmwareVolume|gEfiNt32PkgTokenSpaceGuid\r | |
71 | \r | |
4a561bc1 | 72 | [BuildOptions.common]\r |
73 | MSFT:DEBUG_*_IA32_DLINK_FLAGS = /out:"$(BIN_DIR)\SecMain.exe" /base:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib\r | |
74 | MSFT:DEBUG_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /Od /DSTRING_ARRAY_NAME=SecMainStrings /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm\r | |
2e19fd0f | 75 | \r |