MdeModulePkg/NonDiscoverablePciDevice: add missing cast and EFIAPI modifiers
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 8 Dec 2016 08:17:22 +0000 (08:17 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 9 Dec 2016 14:51:36 +0000 (14:51 +0000)
commit8b78de74dc6a7d655de50f1e203cbc830de1d9ae
tree30db2653f5f3d826815ec1166f619b5d28318e4a
parent860d9bdd8c48c70c0695af78e29bfb640402c00c
MdeModulePkg/NonDiscoverablePciDevice: add missing cast and EFIAPI modifiers

Add missing EFIAPI modifiers to the functions that are exposed via the
PCI I/O protocol.

At the same time, add a missing UINT8 cast which breaks the build on
Visual Studio.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c