andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 1 | ## @file
|
andrewfish | 5dcda29 | 2011-06-17 16:18:14 +0000 | [diff] [blame] | 2 | # UEFI/PI Emulation Platform with UEFI HII interface supported.
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 3 | #
|
| 4 | # The Emulation Platform can be used to debug individual modules, prior to creating
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 5 | # a real platform. This also provides an example for how an DSC is created.
|
| 6 | #
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 7 | # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
| 8 | # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>
|
| 9 | #
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 10 | # This program and the accompanying materials
|
| 11 | # are licensed and made available under the terms and conditions of the BSD License
|
| 12 | # which accompanies this distribution. The full text of the license may be found at
|
| 13 | # http://opensource.org/licenses/bsd-license.php
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 14 | #
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 17 | #
|
| 18 | ##
|
| 19 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 20 | [Defines]
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 21 | PLATFORM_NAME = EmulatorPkg
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 22 | PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D
|
| 23 | PLATFORM_VERSION = 0.3
|
| 24 | DSC_ SPECIFICATION = 0x00010005
|
andrewfish | e7523e0 | 2011-06-18 22:23:46 +0000 | [diff] [blame] | 25 | !if $(BUILD_32)
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 26 | OUTPUT_DIRECTORY = Build/Emulator32
|
andrewfish | e7523e0 | 2011-06-18 22:23:46 +0000 | [diff] [blame] | 27 | !else
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 28 | OUTPUT_DIRECTORY = Build/Emulator
|
andrewfish | e7523e0 | 2011-06-18 22:23:46 +0000 | [diff] [blame] | 29 | !endif
|
| 30 |
|
andrewfish | 112a857 | 2011-06-18 17:53:31 +0000 | [diff] [blame] | 31 | SUPPORTED_ARCHITECTURES = X64|IA32
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 32 | BUILD_TARGETS = DEBUG|RELEASE
|
| 33 | SKUID_IDENTIFIER = DEFAULT
|
jljusten | e23e488 | 2011-06-29 05:13:54 +0000 | [diff] [blame] | 34 | FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 35 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 36 | [SkuIds]
|
| 37 | 0|DEFAULT
|
| 38 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 39 | [LibraryClasses]
|
| 40 | #
|
| 41 | # Entry point
|
| 42 | #
|
| 43 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
| 44 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
| 45 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
| 46 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
| 47 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
| 48 | #
|
| 49 | # Basic
|
| 50 | #
|
| 51 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
| 52 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
| 53 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
| 54 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
| 55 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
| 56 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 57 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
| 58 |
|
| 59 | #
|
| 60 | # UEFI & PI
|
| 61 | #
|
| 62 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
| 63 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
| 64 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
| 65 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
| 66 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
| 67 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
| 68 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
| 69 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
| 70 |
|
| 71 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
| 72 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 73 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
| 74 | #
|
| 75 | # Generic Modules
|
| 76 | #
|
| 77 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
| 78 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
| 79 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
|
| 80 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
|
| 81 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
|
| 82 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
| 83 | GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
|
| 84 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
| 85 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
| 86 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
| 87 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
| 88 | #
|
| 89 | # Platform
|
| 90 | #
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 91 | PlatformBdsLib|EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf
|
| 92 | KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 93 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 94 | #
|
| 95 | # Misc
|
| 96 | #
|
| 97 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
| 98 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
| 99 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 100 | PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
|
andrewfish | 1453e77 | 2011-06-19 18:59:00 +0000 | [diff] [blame] | 101 | DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
| 102 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 103 |
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 104 | [LibraryClasses.common.SEC]
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 105 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 106 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 107 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
|
| 108 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
|
| 109 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
|
| 110 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
|
andrewfish | 1453e77 | 2011-06-19 18:59:00 +0000 | [diff] [blame] | 111 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 112 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 113 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 114 | [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
|
| 115 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
| 116 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
| 117 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 118 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 119 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
|
| 120 | ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
|
| 121 | ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 122 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 123 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
|
| 124 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 125 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 126 |
|
| 127 | [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
|
| 128 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
| 129 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 130 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 131 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
|
| 132 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 133 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 134 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
|
andrewfish | 1453e77 | 2011-06-19 18:59:00 +0000 | [diff] [blame] | 135 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 136 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 137 |
|
| 138 | [LibraryClasses.common.PEI_CORE]
|
| 139 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 140 |
|
| 141 | [LibraryClasses.common.PEIM]
|
| 142 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 143 |
|
| 144 | [LibraryClasses.common.DXE_CORE]
|
| 145 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
| 146 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
| 147 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 148 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 149 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 150 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 151 | TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
|
| 152 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 153 |
|
| 154 | [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
|
| 155 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
| 156 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
| 157 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 158 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 159 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
|
| 160 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
|
andrewfish | 1453e77 | 2011-06-19 18:59:00 +0000 | [diff] [blame] | 161 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 162 | TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 163 |
|
| 164 | [LibraryClasses.common.UEFI_DRIVER]
|
| 165 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 166 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 167 | [LibraryClasses.common.UEFI_APPLICATION]
|
| 168 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 169 |
|
| 170 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 171 | [PcdsFeatureFlag]
|
| 172 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
|
| 173 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
|
| 174 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
|
| 175 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
| 176 |
|
| 177 | [PcdsFixedAtBuild]
|
| 178 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
|
| 179 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
|
| 180 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
|
| 181 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
|
| 182 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
|
| 183 |
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 184 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
|
| 185 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
|
| 186 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 187 |
|
jljusten | 59ad461 | 2011-06-29 05:13:33 +0000 | [diff] [blame] | 188 | gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
|
jljusten | 72a44be | 2011-05-15 17:23:33 +0000 | [diff] [blame] | 189 |
|
| 190 | !if $(BUILD_NEW_SHELL)
|
| 191 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
|
| 192 | !else
|
| 193 | !if $(USE_NEW_SHELL)
|
| 194 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
|
| 195 | !endif
|
| 196 | !endif
|
| 197 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 198 | #define BOOT_WITH_FULL_CONFIGURATION 0x00
|
| 199 | #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
|
| 200 | #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
|
| 201 | #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
|
| 202 | #define BOOT_WITH_DEFAULT_SETTINGS 0x04
|
| 203 | #define BOOT_ON_S4_RESUME 0x05
|
| 204 | #define BOOT_ON_S5_RESUME 0x06
|
| 205 | #define BOOT_ON_S2_RESUME 0x10
|
| 206 | #define BOOT_ON_S3_RESUME 0x11
|
| 207 | #define BOOT_ON_FLASH_UPDATE 0x12
|
| 208 | #define BOOT_IN_RECOVERY_MODE 0x20
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 209 | gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 210 |
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 211 | gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 212 |
|
andrewfish | 5dcda29 | 2011-06-17 16:18:14 +0000 | [diff] [blame] | 213 | # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 214 | gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
|
| 215 | gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
|
| 216 | gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L".!../../../../EdkShellBinPkg/Bin"
|
| 217 | gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
|
| 218 | gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 219 |
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 220 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
|
| 221 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 222 |
|
andrewfish | 7e284ac | 2011-06-08 02:34:12 +0000 | [diff] [blame] | 223 | # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8
|
| 224 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
|
| 225 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 226 | [PcdsDynamicDefault.common.DEFAULT]
|
| 227 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
|
| 228 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
|
| 229 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
|
| 230 |
|
| 231 | [PcdsDynamicHii.common.DEFAULT]
|
| 232 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
|
| 233 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
|
| 234 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
|
| 235 |
|
| 236 |
|
andrewfish | ea203f2 | 2011-06-20 23:05:43 +0000 | [diff] [blame] | 237 | !ifndef $(SKIP_MAIN_BUILD)
|
andrewfish | 112a857 | 2011-06-18 17:53:31 +0000 | [diff] [blame] | 238 | [Components.X64]
|
| 239 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
|
| 240 | <LibraryClasses>
|
| 241 | # turn off CR3 write so that DXE IPL will not crash emulator
|
| 242 | BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
|
| 243 | }
|
| 244 |
|
| 245 | [Components.IA32]
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 246 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
andrewfish | 1d7ac5a | 2011-06-24 23:59:51 +0000 | [diff] [blame] | 247 | !endif
|
andrewfish | 112a857 | 2011-06-18 17:53:31 +0000 | [diff] [blame] | 248 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 249 | [Components]
|
jljusten | 53a6813 | 2011-06-20 21:58:22 +0000 | [diff] [blame] | 250 | !ifdef $(UNIX_SEC_BUILD)
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 251 | ##
|
andrewfish | 5dcda29 | 2011-06-17 16:18:14 +0000 | [diff] [blame] | 252 | # Emulator, OS POSIX application
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 253 | ##
|
jljusten | 59ad461 | 2011-06-29 05:13:33 +0000 | [diff] [blame] | 254 | EmulatorPkg/Unix/Host/Host.inf
|
jljusten | 53a6813 | 2011-06-20 21:58:22 +0000 | [diff] [blame] | 255 | !endif
|
| 256 |
|
| 257 | !ifndef $(SKIP_MAIN_BUILD)
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 258 | #
|
| 259 | # Generic SEC
|
| 260 | #
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 261 | EmulatorPkg/Sec/Sec.inf
|
andrewfish | 65e3f33 | 2011-05-14 16:00:22 +0000 | [diff] [blame] | 262 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 263 | ##
|
| 264 | # PEI Phase modules
|
| 265 | ##
|
| 266 | MdeModulePkg/Core/Pei/PeiMain.inf
|
| 267 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
| 268 | <LibraryClasses>
|
| 269 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 270 | }
|
| 271 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 272 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
|
| 273 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 274 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 275 | EmulatorPkg/BootModePei/BootModePei.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 276 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 277 | EmulatorPkg/AutoScanPei/AutoScanPei.inf
|
| 278 | EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
|
| 279 | EmulatorPkg/FlashMapPei/FlashMapPei.inf
|
| 280 | EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 281 |
|
| 282 | ##
|
| 283 | # DXE Phase modules
|
| 284 | ##
|
| 285 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
| 286 | <LibraryClasses>
|
andrewfish | 1453e77 | 2011-06-19 18:59:00 +0000 | [diff] [blame] | 287 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
andrewfish | bed0bbc | 2011-08-11 03:23:09 +0000 | [diff] [blame^] | 288 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
|
| 289 | DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 290 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
|
| 291 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
| 292 | }
|
| 293 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
|
| 294 | <LibraryClasses>
|
| 295 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 296 | }
|
| 297 |
|
| 298 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
| 299 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
|
| 300 | <LibraryClasses>
|
andrewfish | 1453e77 | 2011-06-19 18:59:00 +0000 | [diff] [blame] | 301 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 302 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 303 | }
|
| 304 |
|
andrewfish | 1ef4120 | 2011-06-21 23:41:31 +0000 | [diff] [blame] | 305 | MdeModulePkg/Universal/Metronome/Metronome.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 306 | EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
|
| 307 | EmulatorPkg/ResetRuntimeDxe/Reset.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 308 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 309 | EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 310 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
| 311 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
| 312 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 313 | EmulatorPkg/EmuThunkDxe/EmuThunk.inf
|
| 314 | EmulatorPkg/CpuRuntimeDxe/Cpu.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 315 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 316 | EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
|
| 317 | EmulatorPkg/TimerDxe/Timer.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 318 |
|
| 319 |
|
| 320 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
| 321 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
| 322 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
| 323 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
| 324 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
| 325 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
| 326 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
andrewfish | 7e284ac | 2011-06-08 02:34:12 +0000 | [diff] [blame] | 327 | EmbeddedPkg/SerialDxe/SerialDxe.inf {
|
| 328 | <LibraryClasses>
|
| 329 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 330 | SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
|
andrewfish | 7e284ac | 2011-06-08 02:34:12 +0000 | [diff] [blame] | 331 | }
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 332 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 333 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
| 334 | IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 335 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
andrewfish | 5dcda29 | 2011-06-17 16:18:14 +0000 | [diff] [blame] | 336 | #{
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 337 | # <LibraryClasses>
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 338 | # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
|
andrewfish | 5dcda29 | 2011-06-17 16:18:14 +0000 | [diff] [blame] | 339 | #}
|
jljusten | d18d8a1 | 2011-06-28 16:50:26 +0000 | [diff] [blame] | 340 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 341 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
| 342 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
| 343 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
| 344 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
| 345 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
| 346 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
| 347 | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
| 348 |
|
jljusten | bb89ec1 | 2011-06-28 16:47:23 +0000 | [diff] [blame] | 349 | EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
|
| 350 | EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
|
| 351 | EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
|
| 352 | EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
|
| 353 | EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 354 |
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 355 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf
|
| 356 |
|
| 357 | #
|
| 358 | # Network stack drivers
|
| 359 | #
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 360 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
| 361 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
| 362 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
| 363 | MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
| 364 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
| 365 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
| 366 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
| 367 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
| 368 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
| 369 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
| 370 |
|
| 371 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
| 372 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
| 373 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
| 374 | MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
| 375 | MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
|
| 376 | <LibraryClasses>
|
| 377 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 378 | }
|
| 379 |
|
jljusten | 72a44be | 2011-05-15 17:23:33 +0000 | [diff] [blame] | 380 | !if $(BUILD_FAT)
|
andrewfish | 949f388 | 2011-05-11 18:31:20 +0000 | [diff] [blame] | 381 | FatPkg/EnhancedFatDxe/Fat.inf
|
| 382 | !endif
|
jljusten | 72a44be | 2011-05-15 17:23:33 +0000 | [diff] [blame] | 383 |
|
| 384 | !if $(BUILD_NEW_SHELL)
|
| 385 | ShellPkg/Application/Shell/Shell.inf {
|
| 386 | <LibraryClasses>
|
| 387 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
| 388 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
| 389 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
| 390 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
| 391 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
| 392 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
| 393 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
| 394 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
| 395 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
| 396 | FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
| 397 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
| 398 | SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
|
| 399 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
andrewfish | 5407ce1 | 2011-07-01 16:58:47 +0000 | [diff] [blame] | 400 | PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
|
| 401 | # MemoryAllocationLib|EmulatorPkg/Library/GuardUefiMemoryAllocationLib/GuardUefiMemoryAllocationLib.inf
|
andrewfish | 3f2035e | 2011-06-28 18:12:41 +0000 | [diff] [blame] | 402 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
|
| 403 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
|
andrewfish | 5dcda29 | 2011-06-17 16:18:14 +0000 | [diff] [blame] | 404 |
|
jljusten | 72a44be | 2011-05-15 17:23:33 +0000 | [diff] [blame] | 405 | <PcdsFixedAtBuild>
|
| 406 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
| 407 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
| 408 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
|
| 409 | }
|
| 410 | !endif
|
| 411 |
|
jljusten | 53a6813 | 2011-06-20 21:58:22 +0000 | [diff] [blame] | 412 | !endif
|
| 413 |
|