Divneil Rai Wadhawan ea9af51479 EmulatorPkg: Add RngLib to satisfy dependency of OpensslLib před 3 roky
..
AutoScanPei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
BootModePei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
CpuRuntimeDxe ad9df93770 EmulatorPkg: Change the cpu frequency to a non-zero value před 5 roky
EmuBlockIoDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
EmuBusDriverDxe 9e3ab94dc8 EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES před 4 roky
EmuGopDxe f034c05cc4 EmulatorPkg: Fix spelling mistake for occurred před 3 roky
EmuSimpleFileSystemDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
EmuSnpDxe 110d4729b5 EmulatorPkg: Add NetworkPkg/NetworkPkg.dec as the package dependency před 5 roky
EmuThunkDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
FirmwareVolumePei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
FlashMapPei 9e3ab94dc8 EmulatorPkg: Add -D DISABLE_NEW_DEPRECATED_INTERFACES před 4 roky
FvbServicesRuntimeDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
Include e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
Library 60d222748a EmulatorPkg/DxeTimerLib: drop superfluous cast před 4 roky
PlatformCI 951a03536c EmulatorPkg: Add Platform CI and configuration for Core CI před 4 roky
PlatformSmbiosDxe bfcf262488 EmulatorPkg/PlatformSmbiosDxe: fix a spell error of platform. před 4 roky
RealTimeClockRuntimeDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
ResetRuntimeDxe e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
Sec de949fdbcf EmulatorPkg/Sec: Fix various typos před 4 roky
ThunkPpiToProtocolPei e3ba31da1c EmulatorPkg: Replace BSD License with BSD+Patent License před 5 roky
TimerDxe f034c05cc4 EmulatorPkg: Fix spelling mistake for occurred před 3 roky
Unix 26cfe2c659 EmulatorPkg/Unix: Fix various typos před 4 roky
Win bb78cfbec0 EmulatorPkg/WinHost: Enable network support. před 4 roky
EmulatorPkg.ci.yaml 647aa7110f EmulatorPkg/EmulatorPkg.ci.yaml: Add configuration for Ecc check před 3 roky
EmulatorPkg.dec 067503a8c6 EmulatorPkg:Change DEC_VERSION to DEC_SPECIFICATION před 3 roky
EmulatorPkg.dsc ea9af51479 EmulatorPkg: Add RngLib to satisfy dependency of OpensslLib před 3 roky
EmulatorPkg.fdf 7faece6985 EmulatorPkg: Enable support for Secure Boot před 3 roky
Readme.md 89c2e2b1d3 EmulatorPkg: strip trailing whitespace před 4 roky
build.sh 32e55c9f18 EmulatorPkg: Fix XCODE5 lldb issues před 4 roky

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