# The Emulation Platform can be used to debug individual modules, prior to creating\r
# a real platform. This also provides an example for how an DSC is created.\r
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Portions copywrite (c) 2010, Apple, Inc. All rights reserved. \r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
+ SecDispatchTableLib|UnixPkg/Library/SecDispatchTableLib/SecDispatchTableLib.inf\r
\r
[LibraryClasses.common.USER_DEFINED]\r
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf\r
\r
[LibraryClasses.X64]\r
+ # turn off CR3 write so that DXE IPL will not crash emulator\r
BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf\r
\r
################################################################################\r
gEfiUnixPkgTokenSpaceGuid.PcdUnixCpuSpeed|L"3000"\r
gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySize|L"128!128"\r
gEfiUnixPkgTokenSpaceGuid.PcdUnixSerialPort|L"/dev/ttyS0!/dev/ttyS1"\r
+ gEfiUnixPkgTokenSpaceGuid.PcdUnixNetworkInterface|L"en0"\r
\r
[PcdsDynamicHii.common.DEFAULT]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEfiUnixSystemConfigGuid|0x0|80\r
# generated for it, but the binary will not be put into any firmware volume.\r
#\r
###################################################################################################\r
-[Components.common]\r
+[Components]\r
+!if $(SEC_ONLY)\r
##\r
# SEC Phase modules\r
##\r
UnixPkg/Sec/SecMain.inf\r
-\r
+!else\r
##\r
# PEI Phase modules\r
##\r
UnixPkg/UnixBlockIoDxe/UnixBlockIo.inf\r
UnixPkg/UnixSerialIoDxe/UnixSerialIo.inf\r
UnixPkg/UnixUgaDxe/UnixUga.inf\r
+ UnixPkg/UnixGopDxe/UnixGop.inf\r
UnixPkg/UnixConsoleDxe/UnixConsole.inf\r
UnixPkg/UnixSimpleFileSystemDxe/UnixSimpleFileSystem.inf\r
MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
\r
#\r
# Network stack drivers\r
- # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.\r
#\r
+ UnixPkg/UnixSnpDxe/UnixSnpDxe.inf\r
MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
}\r
\r
FatPkg/EnhancedFatDxe/Fat.inf\r
- \r
+!endif \r