mirror of https://github.com/acidanthera/audk.git
dda74d6d62
In EmuSimpleFileSystemOpenVolume() function - in case an allocation failed with AllocatePool() - EFI_UNSUPPORTED was being returned instead of EFI_OUT_OF_RESOURCES, which is incorrect. Even worse, in EmuSimpleFileSystemDriverBindingStart(), an unitiliasied variable (Status) will be returned in case of an allocation failure with AllocateZeroPool(). This patch fixes both issues by correctly returning EFI_OUT_OF_RESOURCES. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara <pcacjr@zytor.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15615 6f19259b-4bc3-4df7-8a09-765794883524 |
||
---|---|---|
.. | ||
AutoScanPei | ||
BootModePei | ||
CpuRuntimeDxe | ||
EmuBlockIoDxe | ||
EmuBusDriverDxe | ||
EmuGopDxe | ||
EmuSimpleFileSystemDxe | ||
EmuSnpDxe | ||
EmuThunkDxe | ||
FirmwareVolumePei | ||
FlashMapPei | ||
FvbServicesRuntimeDxe | ||
Include | ||
Library | ||
MiscSubClassPlatformDxe | ||
PlatformSmbiosDxe | ||
RealTimeClockRuntimeDxe | ||
ResetRuntimeDxe | ||
Sec | ||
ThunkPpiToProtocolPei | ||
TimerDxe | ||
Unix | ||
Contributions.txt | ||
EmulatorPkg.dec | ||
EmulatorPkg.dsc | ||
EmulatorPkg.fdf | ||
License.txt | ||
README | ||
build.sh |
README
=== EmulatorPkg 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.) http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EmulatorPkg === Status === * Builds and runs under a posix-like environment with X windows - Linux - OS X === Future Plans === * Win32 and Win64 support === Build Scripts === On systems with the bash shell you can use EmulatorPkg/build.sh to simplify building and running EmulatorPkg. 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