2007-07-03 11:18:19 +02:00
|
|
|
#/** @file
|
|
|
|
# Entry Point of NT32 Emulator
|
|
|
|
#
|
|
|
|
# Main executable file of NT32 Emulator that loads PEI core after initialization finished.
|
|
|
|
#
|
2007-07-27 18:55:19 +02:00
|
|
|
# Copyright (c) 2007, Intel Corporation
|
2007-07-03 11:18:19 +02:00
|
|
|
# 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 = 4b837b03-6587-4d19-b82b-edfad836c0a0
|
2007-07-25 08:13:30 +02:00
|
|
|
MODULE_TYPE = USER_DEFINED
|
2007-07-03 11:18:19 +02:00
|
|
|
VERSION_STRING = 1.0
|
|
|
|
EDK_RELEASE_VERSION = 0x00020000
|
|
|
|
EFI_SPECIFICATION_VERSION = 0x00020000
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
SecMain.h
|
|
|
|
WinNtThunk.c
|
|
|
|
FwVol.c
|
|
|
|
SecMain.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2007-07-27 18:55:19 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
Nt32Pkg/Nt32Pkg.dec
|
2007-07-03 11:18:19 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
DebugLib
|
|
|
|
PcdLib
|
|
|
|
PrintLib
|
|
|
|
BaseMemoryLib
|
|
|
|
BaseLib
|
|
|
|
PeCoffLib
|
2007-07-27 18:55:19 +02:00
|
|
|
ReportStatusCodeLib
|
2007-07-03 11:18:19 +02:00
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED
|
|
|
|
|
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gNtPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED
|
|
|
|
gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED
|
|
|
|
gNtFwhPpiGuid # PPI ALWAYS_PRODUCED
|
|
|
|
gPeiNtAutoScanPpiGuid # PPI ALWAYS_PRODUCED
|
|
|
|
gPeiNtThunkPpiGuid # PPI ALWAYS_PRODUCED
|
|
|
|
|
|
|
|
|
2007-08-30 11:11:54 +02:00
|
|
|
[FixedPcd.common]
|
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtBootMode
|
2007-09-29 06:43:54 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize
|
2007-10-10 04:13:43 +02:00
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySizeForSecMain
|
|
|
|
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume
|
2007-09-12 11:52:37 +02:00
|
|
|
|
2007-07-25 08:13:30 +02:00
|
|
|
[BuildOptions.common]
|
2007-10-10 05:59:37 +02:00
|
|
|
MSFT:*_*_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
|
2007-10-16 08:20:31 +02:00
|
|
|
MSFT:*_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D_CRT_SECURE_NO_WARNINGS
|
2007-07-03 11:18:19 +02:00
|
|
|
|