summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-09 04:41:59 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-09 04:41:59 +0000
commitf008fc323b7ea9bcb0e29a804611a3cc99149121 (patch)
tree5d11035681d421b5aa059560662f88fd46daef65 /MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
parente31c47b99a418bc555849c0d3206b7c4bb7d29b7 (diff)
downloadedk2-platforms-f008fc323b7ea9bcb0e29a804611a3cc99149121.tar.xz
Code cleanup for library instances in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5856 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c')
-rw-r--r--MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
index 607a701dd7..a1a8650f0d 100644
--- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
+++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
@@ -1,5 +1,6 @@
/** @file
- UEFI Device Path Library.
+ Library instance that implement UEFI Device Path Library class based on protocol
+ gEfiDevicePathUtilitiesProtocolGuid.
Copyright (c) 2006, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
@@ -25,8 +26,6 @@
#include <Library/BaseMemoryLib.h>
#include <Library/UefiBootServicesTableLib.h>
-#include "UefiDevicePathLibInternal.h"
-
STATIC EFI_DEVICE_PATH_UTILITIES_PROTOCOL *mDevicePathUtilities = NULL;
/**
@@ -245,7 +244,7 @@ GetNextDevicePathInstance (
@param NodeSubType The device node sub-type for the new device node.
@param NodeLength The length of the new device node.
- @return The new device path.
+ @return A pointer to the new created file device path
**/
EFI_DEVICE_PATH_PROTOCOL *
@@ -325,7 +324,7 @@ DevicePathFromHandle (
may be NULL.
@param FileName A pointer to a Null-terminated Unicode string.
- @return The allocated device path.
+ @return A pointer to the new created file device path
**/
EFI_DEVICE_PATH_PROTOCOL *