Fix build issue in linux environment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5636 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian
2008-08-13 04:53:33 +00:00
parent f4168df83f
commit d8bee43ce4
24 changed files with 56 additions and 57 deletions

View File

@@ -22,10 +22,8 @@ Abstract:
#define _CPU_IO_ACCESS_H
#define IA32API __cdecl
UINT8
IA32API
EFIAPI
CpuIoRead8 (
IN UINT16 Port
)
@@ -55,7 +53,7 @@ Returns:
Return read 8 bit value
--*/
UINT16
IA32API
EFIAPI
CpuIoRead16 (
IN UINT16 Port
)
@@ -85,7 +83,7 @@ Returns:
Return read 16 bit value
--*/
UINT32
IA32API
EFIAPI
CpuIoRead32 (
IN UINT16 Port
)
@@ -115,7 +113,7 @@ Returns:
Return read 32 bit value
--*/
VOID
IA32API
EFIAPI
CpuIoWrite8 (
IN UINT16 Port,
IN UINT32 Data
@@ -148,7 +146,7 @@ Returns:
None
--*/
VOID
IA32API
EFIAPI
CpuIoWrite16 (
IN UINT16 Port,
IN UINT32 Data
@@ -181,7 +179,7 @@ Returns:
None
--*/
VOID
IA32API
EFIAPI
CpuIoWrite32 (
IN UINT16 Port,
IN UINT32 Data

View File

@@ -45,7 +45,7 @@
#include "CpuIoAccess.h"
UINT8
IA32API
EFIAPI
CpuIoRead8 (
IN UINT16 Port
)
@@ -59,7 +59,7 @@ CpuIoRead8 (
}
UINT16
IA32API
EFIAPI
CpuIoRead16 (
IN UINT16 Port
)
@@ -73,7 +73,7 @@ CpuIoRead16 (
}
UINT32
IA32API
EFIAPI
CpuIoRead32 (
IN UINT16 Port
)
@@ -87,7 +87,7 @@ CpuIoRead32 (
}
VOID
IA32API
EFIAPI
CpuIoWrite8 (
IN UINT16 Port,
IN UINT32 Data
@@ -101,7 +101,7 @@ CpuIoWrite8 (
}
VOID
IA32API
EFIAPI
CpuIoWrite16 (
IN UINT16 Port,
IN UINT32 Data
@@ -115,7 +115,7 @@ CpuIoWrite16 (
}
VOID
IA32API
EFIAPI
CpuIoWrite32 (
IN UINT16 Port,
IN UINT32 Data