Michael D Kinney 612edbe6cd EmulatorPkg: Temp remove IA32 GCC CI builds 3 лет назад
..
Application 59935c3813 EmulatorPkg/Application: Publish Redfish Host Interface Record 3 лет назад
AutoScanPei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
BootModePei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
CpuRuntimeDxe ad9df93770 EmulatorPkg: Change the cpu frequency to a non-zero value 5 лет назад
EmuBlockIoDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
EmuBusDriverDxe 9e3ab94dc8 EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES 4 лет назад
EmuGopDxe f034c05cc4 EmulatorPkg: Fix spelling mistake for occurred 3 лет назад
EmuSimpleFileSystemDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
EmuSnpDxe 110d4729b5 EmulatorPkg: Add NetworkPkg/NetworkPkg.dec as the package dependency 5 лет назад
EmuThunkDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
FirmwareVolumePei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
FlashMapPei 9e3ab94dc8 EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES 4 лет назад
FvbServicesRuntimeDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
Include e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
Library c88736f860 EmulatorPkg/library: RedfishPlatformCredentialLib 3 лет назад
PlatformCI 612edbe6cd EmulatorPkg: Temp remove IA32 GCC CI builds 3 лет назад
PlatformSmbiosDxe bfcf262488 EmulatorPkg/PlatformSmbiosDxe: fix a spell error of platform. 4 лет назад
RealTimeClockRuntimeDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
ResetRuntimeDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
Sec de949fdbcf EmulatorPkg/Sec: Fix various typos 4 лет назад
ThunkPpiToProtocolPei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License 5 лет назад
TimerDxe f034c05cc4 EmulatorPkg: Fix spelling mistake for occurred 3 лет назад
Unix 26cfe2c659 EmulatorPkg/Unix: Fix various typos 4 лет назад
Win dd5c7e3c52 EmulatorPkg/host: fix overflow in Mult 3 лет назад
EmulatorPkg.ci.yaml f94487284b EmulatorPkg: Add allowable dependency 3 лет назад
EmulatorPkg.dec c88736f860 EmulatorPkg/library: RedfishPlatformCredentialLib 3 лет назад
EmulatorPkg.dsc 991c898775 EmulatorPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib 3 лет назад
EmulatorPkg.fdf 484e869dfd EmulatorPkg: Redfish related changes on EmulatorPkg 3 лет назад
Readme.md 89c2e2b1d3 EmulatorPkg: strip trailing whitespace 4 лет назад
build.sh 32e55c9f18 EmulatorPkg: Fix XCODE5 lldb issues 4 лет назад

Readme.md

Overview

EmulatorPkg provides an environment where a UEFI environment can be emulated under an environment where a full UEFI compatible environment is not possible. (For example, running under an OS where an OS process hosts the UEFI emulation environment.)

https://github.com/tianocore/tianocore.github.io/wiki/EmulatorPkg

Status

  • Builds and runs under
    • a posix-like environment with X windows
      • Linux
      • OS X
    • Windows environment
      • Win10 (verified)
      • Win8 (not verified)

How to Build & Run

You can use the following command to build.

  • 32bit emulator in Windows:

    build -p EmulatorPkg\EmulatorPkg.dsc -t VS2017 -a IA32

  • 64bit emulator in Windows:

    build -p EmulatorPkg\EmulatorPkg.dsc -t VS2017 -a X64

  • 32bit emulator in Linux:

    build -p EmulatorPkg\EmulatorPkg.dsc -t GCC5 -a IA32

  • 64bit emulator in Linux:

    build -p EmulatorPkg\EmulatorPkg.dsc -t GCC5 -a X64

You can start/run the emulator using the following command:

  • 32bit emulator in Windows:

    cd Build\EmulatorIA32\DEBUG_VS2017\IA32\ && WinHost.exe

  • 64bit emulator in Windows:

    cd Build\EmulatorX64\DEBUG_VS2017\X64\ && WinHost.exe

  • 32bit emulator in Linux:

    cd Build/EmulatorIA32/DEBUG_GCC5/IA32/ && ./Host

  • 64bit emulator in Linux:

    cd Build/EmulatorX64/DEBUG_GCC5/X64/ && ./Host

On posix-like environment with the bash shell you can use EmulatorPkg/build.sh to simplify building and running emulator.

For example, to build + run:

$ EmulatorPkg/build.sh $ EmulatorPkg/build.sh run

The build architecture will match your host machine’s architecture.

On X64 host machines, you can build + run IA32 mode as well:

$ EmulatorPkg/build.sh -a IA32 $ EmulatorPkg/build.sh -a IA32 run