mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
EmbeddedPkg: Add missing EFIAPI for protocol member functions
According to UEFI spec calling conventions, protocol member functions should use EFIAPI. Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
This commit is contained in:
parent
708339afd7
commit
4a96a36c58
2 changed files with 8 additions and 4 deletions
|
|
@ -292,6 +292,7 @@ ConnectionAccepted (
|
|||
start waiting for a TCP connection on the Fastboot port.
|
||||
*/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
TcpFastbootTransportStart (
|
||||
EFI_EVENT ReceiveEvent
|
||||
)
|
||||
|
|
@ -466,6 +467,7 @@ TcpFastbootTransportStart (
|
|||
}
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
TcpFastbootTransportStop (
|
||||
VOID
|
||||
)
|
||||
|
|
@ -558,6 +560,7 @@ DataSent (
|
|||
}
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
TcpFastbootTransportSend (
|
||||
IN UINTN BufferSize,
|
||||
IN CONST VOID *Buffer,
|
||||
|
|
@ -603,6 +606,7 @@ TcpFastbootTransportSend (
|
|||
}
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
TcpFastbootTransportReceive (
|
||||
OUT UINTN *BufferSize,
|
||||
OUT VOID **Buffer
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ extern EFI_GUID gAndroidFastbootTransportProtocolGuid;
|
|||
*/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(*FASTBOOT_TRANSPORT_START) (
|
||||
(EFIAPI *FASTBOOT_TRANSPORT_START)(
|
||||
IN EFI_EVENT ReceiveEvent
|
||||
);
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ EFI_STATUS
|
|||
*/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(*FASTBOOT_TRANSPORT_STOP) (
|
||||
(EFIAPI *FASTBOOT_TRANSPORT_STOP)(
|
||||
VOID
|
||||
);
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ EFI_STATUS
|
|||
*/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(*FASTBOOT_TRANSPORT_SEND) (
|
||||
(EFIAPI *FASTBOOT_TRANSPORT_SEND)(
|
||||
IN UINTN BufferSize,
|
||||
IN CONST VOID *Buffer,
|
||||
IN EFI_EVENT *FatalErrorEvent
|
||||
|
|
@ -110,7 +110,7 @@ EFI_STATUS
|
|||
*/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(*FASTBOOT_TRANSPORT_RECEIVE) (
|
||||
(EFIAPI *FASTBOOT_TRANSPORT_RECEIVE)(
|
||||
OUT UINTN *BufferSize,
|
||||
OUT VOID **Buffer
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue