audk/EmulatorPkg
Laszlo Ersek 1ee0e6532f EmulatorPkg/FvbServicesRuntimeDxe: correct NumOfLba vararg type in EraseBlocks()
According to the PI spec, Volume 3,
EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL.EraseBlocks():

> The variable argument list is a list of tuples. Each tuple describes a
> range of LBAs to erase and consists of the following:
> * An EFI_LBA that indicates the starting LBA
> * A UINTN that indicates the number of blocks to erase

(NB, in edk2, EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL is a typedef to
EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL.)

In this driver, the NumOfLba local variable is defined with type UINTN,
but the TYPE argument passed to VA_ARG() is UINT32. Fix the mismatch.

Cc: Andrew Fish <afish@apple.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Reported-by: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2017-05-18 23:38:45 +02:00
..
AutoScanPei
BootModePei
CpuRuntimeDxe EmulatorPkg: CpuRuntimeDxe: remove set but unused variables 2016-03-25 10:52:15 +01:00
EmuBlockIoDxe
EmuBusDriverDxe EmulatorPkg: Fix bug with missing &. Causes a link failure on TOT clang. 2011-07-15 19:01:16 +00:00
EmuGopDxe EmulatorPkg/EmuGopDxe: Use correct FROM_THIS macro for TextInEx 2016-05-16 18:25:17 -07:00
EmuSimpleFileSystemDxe EmulatorPkg/EmuSimpleFileSystemDxe: Fix incorrect return values upon allocation failure 2014-07-03 20:05:22 +00:00
EmuSnpDxe Fix bug in SNP driver where default values for SNP mode are not filled in. This causes ARP and other drivers to fail to bind as they don't think it is an ethernet connection. Mode structure is filled via lazy update, so defaults need some genericly valid info, not zero. 2012-01-11 19:00:26 +00:00
EmuThunkDxe
FirmwareVolumePei EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
FlashMapPei
FvbServicesRuntimeDxe EmulatorPkg/FvbServicesRuntimeDxe: correct NumOfLba vararg type in EraseBlocks() 2017-05-18 23:38:45 +02:00
Include EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
Library EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
MiscSubClassPlatformDxe EmulatorPkg: Convert all .uni files to utf-8 2015-12-15 04:51:49 +00:00
PlatformSmbiosDxe EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
RealTimeClockRuntimeDxe
ResetRuntimeDxe
Sec EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
ThunkPpiToProtocolPei
TimerDxe EmulatorPkg: Fix typos in comments 2016-07-25 16:56:57 -07:00
Unix EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EmulatorPkg.dec Add a new SMBIOS Library, and platform SMBIOS driver that does not use Framework or Hii. 2012-01-30 18:57:30 +00:00
EmulatorPkg.dsc EmulatorPkg: Add SortLib/UefiBootManagerLib 2017-03-20 14:48:18 +08:00
EmulatorPkg.fdf EmulatorPkg: Convert to always build FatPkg 2016-04-07 20:45:45 +02:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
README EmulatorPkg: Update web page and wiki urls 2015-02-05 18:25:01 +00:00
build.sh EmulatorPkg/build.sh: Use GCC49 toolchain with GCC 5.* 2015-10-08 05:51:57 +00:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.


=== 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.)

https://github.com/tianocore/tianocore.github.io/wiki/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