diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 23:24:45 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 23:24:45 +0000 |
commit | e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a (patch) | |
tree | 46b6cbe6e62032969fdac69763e01787c3151591 /MdeModulePkg/Universal/Network | |
parent | 66c95e799aba51b18fe7c7581c50ad7b83ee39b0 (diff) | |
download | edk2-e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a.zip edk2-e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a.tar.gz edk2-e798cd87ca9a3a30c4cea50c5f5de84e10a8bc5a.tar.bz2 |
Fixed GCC 4.4 build issues due to EFIAPI not being used when required.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10379 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network')
22 files changed, 49 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Driver.c b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Driver.c index 3136652..8e335ee 100644 --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Driver.c +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Driver.c @@ -114,6 +114,7 @@ Dhcp4DriverBindingSupported ( **/
EFI_STATUS
+EFIAPI
DhcpConfigUdpIo (
IN UDP_IO *UdpIo,
IN VOID *Context
diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c index f470844..8beab59 100644 --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c @@ -1174,6 +1174,7 @@ EfiDhcp4Build ( @retval other Other error occurs.
**/
EFI_STATUS
+EFIAPI
Dhcp4InstanceConfigUdpIo (
IN UDP_IO *UdpIo,
IN VOID *Context
@@ -1251,6 +1252,7 @@ Dhcp4InstanceCreateUdpIo ( **/
VOID
+EFIAPI
DhcpDummyExtFree (
IN VOID *Arg
)
@@ -1270,6 +1272,7 @@ DhcpDummyExtFree ( **/
VOID
+EFIAPI
PxeDhcpInput (
NET_BUF *UdpPacket,
UDP_END_POINT *EndPoint,
diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c index 2af4888..56b03a8 100644 --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c @@ -313,6 +313,7 @@ DhcpComputeLease ( **/
EFI_STATUS
+EFIAPI
DhcpConfigLeaseIoPort (
IN UDP_IO *UdpIo,
IN VOID *Context
@@ -947,6 +948,7 @@ ON_EXIT: **/
VOID
+EFIAPI
DhcpInput (
NET_BUF *UdpPacket,
UDP_END_POINT *EndPoint,
@@ -1100,6 +1102,7 @@ RESTART: **/
VOID
+EFIAPI
DhcpReleasePacket (
IN VOID *Arg
)
@@ -1118,6 +1121,7 @@ DhcpReleasePacket ( **/
VOID
+EFIAPI
DhcpOnPacketSent (
NET_BUF *Packet,
UDP_END_POINT *EndPoint,
diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.h b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.h index ce1a80b..faa5d43 100644 --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.h +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.h @@ -140,6 +140,7 @@ DhcpOnTimerTick ( **/
VOID
+EFIAPI
DhcpInput (
NET_BUF *UdpPacket,
UDP_END_POINT *EndPoint,
@@ -183,6 +184,7 @@ DhcpCleanLease ( **/
VOID
+EFIAPI
DhcpOnPacketSent (
NET_BUF *Packet,
UDP_END_POINT *EndPoint,
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c index 2261bc1..23bda43 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c @@ -880,6 +880,7 @@ IScsiUpdateTargetAddress ( @param[in] Arg The opaque parameter.
**/
VOID
+EFIAPI
IScsiFreeNbufList (
VOID *Arg
)
@@ -896,6 +897,7 @@ IScsiFreeNbufList ( @param[in] Arg The opaque parameter.
**/
VOID
+EFIAPI
IScsiNbufExtFree (
VOID *Arg
)
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h index e11565e..a3d620a 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h @@ -809,6 +809,7 @@ IScsiUpdateTargetAddress ( @param[in] Arg The opaque parameter.
**/
VOID
+EFIAPI
IScsiFreeNbufList (
VOID *Arg
);
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c index 3c575d5..914b0e1 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c @@ -1088,6 +1088,7 @@ ON_ERROR: **/
VOID
+EFIAPI
Ip4RecycleFrame (
IN VOID *Context
)
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c index 06358f0..86648d5 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c @@ -1599,6 +1599,7 @@ ON_EXIT: **/
EFI_STATUS
+EFIAPI
Ip4TokenExist (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -1756,6 +1757,7 @@ Ip4TxTokenValid ( **/
VOID
+EFIAPI
Ip4FreeTxToken (
IN VOID *Context
)
@@ -2144,6 +2146,7 @@ ON_EXIT: **/
EFI_STATUS
+EFIAPI
Ip4CancelTxTokens (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -2199,6 +2202,7 @@ Ip4CancelTxTokens ( **/
EFI_STATUS
+EFIAPI
Ip4CancelRxTokens (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -2441,6 +2445,7 @@ EfiIp4Poll ( **/
EFI_STATUS
+EFIAPI
Ip4SentPacketTicking (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h index 43d6765..0bd90bc 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h @@ -345,6 +345,7 @@ Ip4TimerTicking ( **/
EFI_STATUS
+EFIAPI
Ip4SentPacketTicking (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -373,6 +374,7 @@ Ip4SentPacketTicking ( **/
VOID
+EFIAPI
Ip4FreeTxToken (
IN VOID *Context
);
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c index 1eaed05..24d2f29 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c @@ -188,6 +188,7 @@ Ip4TrimPacket ( **/
VOID
+EFIAPI
Ip4OnFreeFragments (
IN VOID *Arg
)
@@ -437,6 +438,7 @@ DROP: **/
VOID
+EFIAPI
Ip4IpSecFree (
IN VOID *Arg
)
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c b/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c index 115185a..7e475cd 100644 --- a/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c +++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c @@ -822,6 +822,7 @@ MnpInitializeInstanceData ( **/
EFI_STATUS
+EFIAPI
MnpTokenExist (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -861,6 +862,7 @@ MnpTokenExist ( **/
EFI_STATUS
+EFIAPI
MnpCancelTokens (
IN OUT NET_MAP *Map,
IN OUT NET_MAP_ITEM *Item,
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h b/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h index 54a61c3..240c9cf 100644 --- a/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h +++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h @@ -234,6 +234,7 @@ MnpInitializeInstanceData ( **/
EFI_STATUS
+EFIAPI
MnpTokenExist (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -256,6 +257,7 @@ MnpTokenExist ( **/
EFI_STATUS
+EFIAPI
MnpCancelTokens (
IN OUT NET_MAP *Map,
IN OUT NET_MAP_ITEM *Item,
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Driver.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Driver.c index b920e8b..06aab8d 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Driver.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Driver.c @@ -114,6 +114,7 @@ Mtftp4DriverBindingSupported ( **/
EFI_STATUS
+EFIAPI
Mtftp4ConfigNullUdp (
IN UDP_IO *UdpIo,
IN VOID *Context
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c index 4a15aeb..34fb6a0 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c @@ -26,6 +26,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
VOID
+EFIAPI
Mtftp4RrqInput (
IN NET_BUF *UdpPacket,
IN UDP_END_POINT *EndPoint,
@@ -379,6 +380,7 @@ Mtftp4RrqOackValid ( **/
EFI_STATUS
+EFIAPI
Mtftp4RrqConfigMcastPort (
IN UDP_IO *McastIo,
IN VOID *Context
@@ -605,6 +607,7 @@ Mtftp4RrqHandleOack ( **/
VOID
+EFIAPI
Mtftp4RrqInput (
IN NET_BUF *UdpPacket,
IN UDP_END_POINT *EndPoint,
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c index 0e7f98e..e7f6291 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c @@ -365,6 +365,7 @@ Mtftp4SendError ( **/
VOID
+EFIAPI
Mtftp4OnPacketSent (
IN NET_BUF *Packet,
IN UDP_END_POINT *EndPoint,
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c index 00309f4..9e91ebf 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c @@ -335,6 +335,7 @@ Mtftp4WrqHandleOack ( MTFTP session.
**/
VOID
+EFIAPI
Mtftp4WrqInput (
IN NET_BUF *UdpPacket,
IN UDP_END_POINT *EndPoint,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c index d36ab27..d69ef81 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c @@ -52,6 +52,7 @@ SockProcessSndToken ( **/
VOID
+EFIAPI
SockFreeFoo (
IN EFI_EVENT Event
)
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h index 004f1cb..0c86f26 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h @@ -38,6 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
VOID
+EFIAPI
SockFreeFoo (
IN EFI_EVENT Event
);
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.h b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.h index c744870..d2a8d8c 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.h +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.h @@ -76,6 +76,7 @@ typedef struct _TCP4_PROTO_DATA { **/
VOID
+EFIAPI
Tcp4RxCallback (
IN EFI_STATUS Status,
IN UINT8 IcmpErr,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Io.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Io.c index 3adf356..9a53037 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Io.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Io.c @@ -28,6 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
VOID
+EFIAPI
Tcp4RxCallback (
IN EFI_STATUS Status,
IN UINT8 IcmpErr,
diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c index ff3b43e..de9ee2c 100644 --- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c +++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c @@ -64,6 +64,7 @@ Udp4FindInstanceByPort ( **/
VOID
+EFIAPI
Udp4DgramSent (
IN EFI_STATUS Status,
IN VOID *Context,
@@ -84,6 +85,7 @@ Udp4DgramSent ( **/
VOID
+EFIAPI
Udp4DgramRcvd (
IN EFI_STATUS Status,
IN UINT8 IcmpError,
@@ -109,6 +111,7 @@ Udp4DgramRcvd ( **/
EFI_STATUS
+EFIAPI
Udp4CancelTokens (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -890,6 +893,7 @@ Udp4ValidateTxToken ( **/
EFI_STATUS
+EFIAPI
Udp4TokenExist (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -990,6 +994,7 @@ Udp4RemoveToken ( **/
VOID
+EFIAPI
Udp4DgramSent (
IN EFI_STATUS Status,
IN VOID *Context,
@@ -1027,6 +1032,7 @@ Udp4DgramSent ( **/
VOID
+EFIAPI
Udp4DgramRcvd (
IN EFI_STATUS Status,
IN UINT8 IcmpError,
@@ -1074,6 +1080,7 @@ Udp4DgramRcvd ( **/
EFI_STATUS
+EFIAPI
Udp4LeaveGroup (
IN OUT NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -1125,6 +1132,7 @@ Udp4LeaveGroup ( **/
EFI_STATUS
+EFIAPI
Udp4CancelTokens (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -1881,6 +1889,7 @@ Udp4ReportIcmpError ( **/
VOID
+EFIAPI
Udp4NetVectorExtFree (
VOID *Context
)
diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.h b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.h index 8720cf7..9a8c02a 100644 --- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.h +++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.h @@ -562,6 +562,7 @@ Udp4ValidateTxToken ( **/
EFI_STATUS
+EFIAPI
Udp4TokenExist (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -615,6 +616,7 @@ Udp4RemoveToken ( **/
EFI_STATUS
+EFIAPI
Udp4LeaveGroup (
IN OUT NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -679,6 +681,7 @@ Udp4ReportIcmpError ( **/
VOID
+EFIAPI
Udp4NetVectorExtFree (
VOID *Context
);
|