OvmfPkg/VirtioMmioDeviceLib: add missing IN and OUT decoration

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Brijesh Singh 2017-08-14 07:36:26 -04:00 committed by Laszlo Ersek
parent e5251fecb9
commit 22701a3d4d
2 changed files with 28 additions and 28 deletions

View File

@ -85,29 +85,29 @@ VirtioMmioGetDeviceStatus (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueSize ( VirtioMmioSetQueueSize (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT16 QueueSize IN UINT16 QueueSize
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetDeviceStatus ( VirtioMmioSetDeviceStatus (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT8 DeviceStatus IN UINT8 DeviceStatus
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueNotify ( VirtioMmioSetQueueNotify (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT16 QueueNotify IN UINT16 QueueNotify
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueSel ( VirtioMmioSetQueueSel (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT16 Sel IN UINT16 Sel
); );
EFI_STATUS EFI_STATUS
@ -119,22 +119,22 @@ VirtioMmioSetQueueAddress (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueAlignment ( VirtioMmioSetQueueAlignment (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT32 Alignment IN UINT32 Alignment
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetPageSize ( VirtioMmioSetPageSize (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT32 PageSize IN UINT32 PageSize
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetGuestFeatures ( VirtioMmioSetGuestFeatures (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT64 Features IN UINT64 Features
); );
#endif // _VIRTIO_MMIO_DEVICE_INTERNAL_H_ #endif // _VIRTIO_MMIO_DEVICE_INTERNAL_H_

View File

@ -81,8 +81,8 @@ VirtioMmioGetDeviceStatus (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueSize ( VirtioMmioSetQueueSize (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT16 QueueSize IN UINT16 QueueSize
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;
@ -97,8 +97,8 @@ VirtioMmioSetQueueSize (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetDeviceStatus ( VirtioMmioSetDeviceStatus (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT8 DeviceStatus IN UINT8 DeviceStatus
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;
@ -113,8 +113,8 @@ VirtioMmioSetDeviceStatus (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueNotify ( VirtioMmioSetQueueNotify (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT16 QueueNotify IN UINT16 QueueNotify
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;
@ -129,8 +129,8 @@ VirtioMmioSetQueueNotify (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueAlignment ( VirtioMmioSetQueueAlignment (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT32 Alignment IN UINT32 Alignment
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;
@ -145,8 +145,8 @@ VirtioMmioSetQueueAlignment (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetPageSize ( VirtioMmioSetPageSize (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT32 PageSize IN UINT32 PageSize
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;
@ -165,8 +165,8 @@ VirtioMmioSetPageSize (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetQueueSel ( VirtioMmioSetQueueSel (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT16 Sel IN UINT16 Sel
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;
@ -197,8 +197,8 @@ VirtioMmioSetQueueAddress (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
VirtioMmioSetGuestFeatures ( VirtioMmioSetGuestFeatures (
VIRTIO_DEVICE_PROTOCOL *This, IN VIRTIO_DEVICE_PROTOCOL *This,
UINT64 Features IN UINT64 Features
) )
{ {
VIRTIO_MMIO_DEVICE *Device; VIRTIO_MMIO_DEVICE *Device;