summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-08 07:29:48 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-08 07:29:48 +0000
commit5cba121d30d3edda6e6145eb41aabcd767e5b69c (patch)
tree6f9720921e64c149dc04c64c59f7d294329f609b /MdePkg/Library
parent3032f549625c1318d666a70cad9694a472abc907 (diff)
downloadedk2-5cba121d30d3edda6e6145eb41aabcd767e5b69c.zip
edk2-5cba121d30d3edda6e6145eb41aabcd767e5b69c.tar.gz
edk2-5cba121d30d3edda6e6145eb41aabcd767e5b69c.tar.bz2
add modifier EFIAPI for library interfaces.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9246 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c11
-rw-r--r--MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c11
2 files changed, 20 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
index 5aad01f..755e42e 100644
--- a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
+++ b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
@@ -8,7 +8,7 @@
environment varibles. Multi-instance device paths should never be placed
on a Handle.
- Copyright (c) 2006 - 2008, Intel Corporation
+ Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
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
@@ -54,6 +54,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_PROTOCOL mUefiDevicePathLib
**/
UINT8
+EFIAPI
DevicePathType (
IN CONST VOID *Node
)
@@ -75,6 +76,7 @@ DevicePathType (
**/
UINT8
+EFIAPI
DevicePathSubType (
IN CONST VOID *Node
)
@@ -99,6 +101,7 @@ DevicePathSubType (
**/
UINTN
+EFIAPI
DevicePathNodeLength (
IN CONST VOID *Node
)
@@ -120,6 +123,7 @@ DevicePathNodeLength (
**/
EFI_DEVICE_PATH_PROTOCOL *
+EFIAPI
NextDevicePathNode (
IN CONST VOID *Node
)
@@ -146,6 +150,7 @@ NextDevicePathNode (
**/
BOOLEAN
+EFIAPI
IsDevicePathEndType (
IN CONST VOID *Node
)
@@ -169,6 +174,7 @@ IsDevicePathEndType (
**/
BOOLEAN
+EFIAPI
IsDevicePathEnd (
IN CONST VOID *Node
)
@@ -192,6 +198,7 @@ IsDevicePathEnd (
**/
BOOLEAN
+EFIAPI
IsDevicePathEndInstance (
IN CONST VOID *Node
)
@@ -218,6 +225,7 @@ IsDevicePathEndInstance (
**/
UINT16
+EFIAPI
SetDevicePathNodeLength (
IN OUT VOID *Node,
IN UINTN Length
@@ -245,6 +253,7 @@ SetDevicePathNodeLength (
**/
VOID
+EFIAPI
SetDevicePathEndNode (
OUT VOID *Node
)
diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
index 9f9a470..8d8fdee 100644
--- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
+++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
@@ -2,7 +2,7 @@
Library instance that implement UEFI Device Path Library class based on protocol
gEfiDevicePathUtilitiesProtocolGuid.
- Copyright (c) 2006 - 2008, Intel Corporation<BR>
+ Copyright (c) 2006 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
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
@@ -84,6 +84,7 @@ DevicePathLibConstructor (
**/
UINT8
+EFIAPI
DevicePathType (
IN CONST VOID *Node
)
@@ -105,6 +106,7 @@ DevicePathType (
**/
UINT8
+EFIAPI
DevicePathSubType (
IN CONST VOID *Node
)
@@ -129,6 +131,7 @@ DevicePathSubType (
**/
UINTN
+EFIAPI
DevicePathNodeLength (
IN CONST VOID *Node
)
@@ -150,6 +153,7 @@ DevicePathNodeLength (
**/
EFI_DEVICE_PATH_PROTOCOL *
+EFIAPI
NextDevicePathNode (
IN CONST VOID *Node
)
@@ -176,6 +180,7 @@ NextDevicePathNode (
**/
BOOLEAN
+EFIAPI
IsDevicePathEndType (
IN CONST VOID *Node
)
@@ -199,6 +204,7 @@ IsDevicePathEndType (
**/
BOOLEAN
+EFIAPI
IsDevicePathEnd (
IN CONST VOID *Node
)
@@ -222,6 +228,7 @@ IsDevicePathEnd (
**/
BOOLEAN
+EFIAPI
IsDevicePathEndInstance (
IN CONST VOID *Node
)
@@ -248,6 +255,7 @@ IsDevicePathEndInstance (
**/
UINT16
+EFIAPI
SetDevicePathNodeLength (
IN OUT VOID *Node,
IN UINTN Length
@@ -275,6 +283,7 @@ SetDevicePathNodeLength (
**/
VOID
+EFIAPI
SetDevicePathEndNode (
OUT VOID *Node
)