add modifier EFIAPI for library interfaces.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9246 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2009-09-08 07:29:48 +00:00
parent 3032f54962
commit 5cba121d30
3 changed files with 30 additions and 3 deletions

View File

@ -6,7 +6,7 @@
path nodes make use of the ReadUnaligned16() and WriteUnaligned16() functions from path nodes make use of the ReadUnaligned16() and WriteUnaligned16() functions from
the Base Library, so this library class has an implied dependency on the Base Library. the Base Library, so this library class has an implied dependency on the Base Library.
Copyright (c) 2006 - 2008, Intel Corporation<BR> Copyright (c) 2006 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -35,6 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
UINT8 UINT8
EFIAPI
DevicePathType ( DevicePathType (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -52,6 +53,7 @@ DevicePathType (
**/ **/
UINT8 UINT8
EFIAPI
DevicePathSubType ( DevicePathSubType (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -72,6 +74,7 @@ DevicePathSubType (
**/ **/
UINTN UINTN
EFIAPI
DevicePathNodeLength ( DevicePathNodeLength (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -89,6 +92,7 @@ DevicePathNodeLength (
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
EFIAPI
NextDevicePathNode ( NextDevicePathNode (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -111,6 +115,7 @@ NextDevicePathNode (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEndType ( IsDevicePathEndType (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -130,6 +135,7 @@ IsDevicePathEndType (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEnd ( IsDevicePathEnd (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -149,6 +155,7 @@ IsDevicePathEnd (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEndInstance ( IsDevicePathEndInstance (
IN CONST VOID *Node IN CONST VOID *Node
); );
@ -171,6 +178,7 @@ IsDevicePathEndInstance (
**/ **/
UINT16 UINT16
EFIAPI
SetDevicePathNodeLength ( SetDevicePathNodeLength (
IN OUT VOID *Node, IN OUT VOID *Node,
IN UINTN Length IN UINTN Length
@ -193,6 +201,7 @@ SetDevicePathNodeLength (
**/ **/
VOID VOID
EFIAPI
SetDevicePathEndNode ( SetDevicePathEndNode (
OUT VOID *Node OUT VOID *Node
); );

View File

@ -8,7 +8,7 @@
environment varibles. Multi-instance device paths should never be placed environment varibles. Multi-instance device paths should never be placed
on a Handle. on a Handle.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -54,6 +54,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_PROTOCOL mUefiDevicePathLib
**/ **/
UINT8 UINT8
EFIAPI
DevicePathType ( DevicePathType (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -75,6 +76,7 @@ DevicePathType (
**/ **/
UINT8 UINT8
EFIAPI
DevicePathSubType ( DevicePathSubType (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -99,6 +101,7 @@ DevicePathSubType (
**/ **/
UINTN UINTN
EFIAPI
DevicePathNodeLength ( DevicePathNodeLength (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -120,6 +123,7 @@ DevicePathNodeLength (
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
EFIAPI
NextDevicePathNode ( NextDevicePathNode (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -146,6 +150,7 @@ NextDevicePathNode (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEndType ( IsDevicePathEndType (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -169,6 +174,7 @@ IsDevicePathEndType (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEnd ( IsDevicePathEnd (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -192,6 +198,7 @@ IsDevicePathEnd (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEndInstance ( IsDevicePathEndInstance (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -218,6 +225,7 @@ IsDevicePathEndInstance (
**/ **/
UINT16 UINT16
EFIAPI
SetDevicePathNodeLength ( SetDevicePathNodeLength (
IN OUT VOID *Node, IN OUT VOID *Node,
IN UINTN Length IN UINTN Length
@ -245,6 +253,7 @@ SetDevicePathNodeLength (
**/ **/
VOID VOID
EFIAPI
SetDevicePathEndNode ( SetDevicePathEndNode (
OUT VOID *Node OUT VOID *Node
) )

View File

@ -2,7 +2,7 @@
Library instance that implement UEFI Device Path Library class based on protocol Library instance that implement UEFI Device Path Library class based on protocol
gEfiDevicePathUtilitiesProtocolGuid. gEfiDevicePathUtilitiesProtocolGuid.
Copyright (c) 2006 - 2008, Intel Corporation<BR> Copyright (c) 2006 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -84,6 +84,7 @@ DevicePathLibConstructor (
**/ **/
UINT8 UINT8
EFIAPI
DevicePathType ( DevicePathType (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -105,6 +106,7 @@ DevicePathType (
**/ **/
UINT8 UINT8
EFIAPI
DevicePathSubType ( DevicePathSubType (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -129,6 +131,7 @@ DevicePathSubType (
**/ **/
UINTN UINTN
EFIAPI
DevicePathNodeLength ( DevicePathNodeLength (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -150,6 +153,7 @@ DevicePathNodeLength (
**/ **/
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
EFIAPI
NextDevicePathNode ( NextDevicePathNode (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -176,6 +180,7 @@ NextDevicePathNode (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEndType ( IsDevicePathEndType (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -199,6 +204,7 @@ IsDevicePathEndType (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEnd ( IsDevicePathEnd (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -222,6 +228,7 @@ IsDevicePathEnd (
**/ **/
BOOLEAN BOOLEAN
EFIAPI
IsDevicePathEndInstance ( IsDevicePathEndInstance (
IN CONST VOID *Node IN CONST VOID *Node
) )
@ -248,6 +255,7 @@ IsDevicePathEndInstance (
**/ **/
UINT16 UINT16
EFIAPI
SetDevicePathNodeLength ( SetDevicePathNodeLength (
IN OUT VOID *Node, IN OUT VOID *Node,
IN UINTN Length IN UINTN Length
@ -275,6 +283,7 @@ SetDevicePathNodeLength (
**/ **/
VOID VOID
EFIAPI
SetDevicePathEndNode ( SetDevicePathEndNode (
OUT VOID *Node OUT VOID *Node
) )