/** @file\r
Declaration of strctures and functions for SnpDxe driver.\r
\r
-Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed\r
and made available under the terms and conditions of the BSD License which\r
accompanies this distribution. The full text of the license may be found at\r
\r
typedef\r
EFI_STATUS\r
-(*ISSUE_UNDI32_COMMAND) (\r
+(EFIAPI *ISSUE_UNDI32_COMMAND) (\r
UINT64 Cdb\r
);\r
\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackBlock30 (\r
IN UINT32 Enable\r
);\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackDelay30 (\r
IN UINT64 MicroSeconds\r
);\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackMemio30 (\r
IN UINT8 ReadOrWrite,\r
IN UINT8 NumBytes,\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackV2p30 (\r
IN UINT64 CpuAddr,\r
IN OUT UINT64 DeviceAddrPtr\r
the MemMap call to map the required address by itself!\r
\r
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to\r
- store Undi interface context (Undi does not read or write\r
- this variable)\r
+ store Undi interface context (Undi does not read or write\r
+ this variable)\r
@param Enable non-zero indicates acquire\r
zero indicates release\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackBlock (\r
IN UINT64 UniqueId,\r
IN UINT32 Enable\r
pause.\r
\r
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to\r
- store Undi interface context (Undi does not read or write\r
- this variable)\r
+ store Undi interface context (Undi does not read or write\r
+ this variable)\r
@param MicroSeconds number of micro seconds to pause, ususlly multiple of 10.\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackDelay (\r
IN UINT64 UniqueId,\r
IN UINT64 MicroSeconds\r
This is the IO routine for UNDI3.1 to start CPB.\r
\r
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this\r
- to store Undi interface context (Undi does not read or\r
- write this variable)\r
+ to store Undi interface context (Undi does not read or\r
+ write this variable)\r
@param ReadOrWrite indicates read or write, IO or Memory.\r
@param NumBytes number of bytes to read or write.\r
@param MemOrPortAddr IO or memory address to read from or write to.\r
to write.\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackMemio (\r
IN UINT64 UniqueId,\r
IN UINT8 ReadOrWrite,\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackMap (\r
IN UINT64 UniqueId,\r
IN UINT64 CpuAddr,\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackUnmap (\r
IN UINT64 UniqueId,\r
IN UINT64 CpuAddr,\r
\r
**/\r
VOID\r
+EFIAPI\r
SnpUndi32CallbackSync (\r
IN UINT64 UniqueId,\r
IN UINT64 CpuAddr,\r