2 # Entry Point of NT32 Emulator
4 # Main executable file of NT32 Emulator that loads PEI core after initialization finished.
6 # Copyright (c) 2007, Intel Corporation
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.
17 INF_VERSION = 0x00010005
19 FILE_GUID = 4b837b03-6587-4d19-b82b-edfad836c0a0
20 MODULE_TYPE = USER_DEFINED
22 EDK_RELEASE_VERSION = 0x00020000
23 EFI_SPECIFICATION_VERSION = 0x00020000
26 # The following information is for reference only and not required by the build tools.
28 # VALID_ARCHITECTURES = IA32
40 MdeModulePkg/MdeModulePkg.dec
53 gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED
57 gNtPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED
58 gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED
59 gNtFwhPpiGuid # PPI ALWAYS_PRODUCED
60 gPeiNtAutoScanPpiGuid # PPI ALWAYS_PRODUCED
61 gPeiNtThunkPpiGuid # PPI ALWAYS_PRODUCED
64 [PcdsFixedAtBuild.common]
65 PcdWinNtBootMode|gEfiNt32PkgTokenSpaceGuid
69 #PcdWinNtMemorySizeForSecMain|gEfiNt32PkgTokenSpaceGuid
70 #PcdWinNtFirmwareVolume|gEfiNt32PkgTokenSpaceGuid
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
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