From 070a76b19386875d96f945262e832183d61f43da Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 10 Dec 2008 03:28:54 +0000 Subject: Synchronize interface function comment from declaration in library class header file to implementation in library instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6957 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiLib/UefiLib.c | 1 - MdePkg/Library/UefiLib/UefiNotTiano.c | 34 +++++++++++++++++----------------- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'MdePkg/Library/UefiLib') diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c index e263a06f89..e7d8a5089e 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -689,7 +689,6 @@ LookupUnicodeString ( **/ EFI_STATUS - EFIAPI LookupUnicodeString2 ( IN CONST CHAR8 *Language, diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c index dcf2b86098..a00b3d19fe 100644 --- a/MdePkg/Library/UefiLib/UefiNotTiano.c +++ b/MdePkg/Library/UefiLib/UefiNotTiano.c @@ -75,8 +75,8 @@ EfiCreateEventLegacyBoot ( /** Create an EFI event in the Legacy Boot Event Group and allows - the caller to specify a notification function. - + the caller to specify a notification function. + This function abstracts the creation of the Legacy Boot Event. The Framework moved from a proprietary to UEFI 2.0 based mechanism. This library abstracts the caller from how this event is created to prevent @@ -160,8 +160,8 @@ EfiCreateEventReadyToBoot ( /** Create an EFI event in the Ready To Boot Event Group and allows - the caller to specify a notification function. - + the caller to specify a notification function. + This function abstracts the creation of the Ready to Boot Event. The Framework moved from a proprietary to UEFI 2.0 based mechanism. This library abstracts the caller from how this event is created to prevent @@ -282,17 +282,17 @@ EfiSignalEventLegacyBoot ( @retval Other FvDevicePathNode is valid and pointer to NameGuid was returned. **/ -EFI_GUID* +EFI_GUID * EFIAPI EfiGetNameGuidFromFwVolDevicePathNode ( - IN CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvFileDevicePathNode + IN CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode ) { - ASSERT (FvFileDevicePathNode != NULL); + ASSERT (FvDevicePathNode != NULL); - if (DevicePathType (&FvFileDevicePathNode->Header) == MEDIA_DEVICE_PATH && - DevicePathSubType (&FvFileDevicePathNode->Header) == MEDIA_PIWG_FW_FILE_DP) { - return (EFI_GUID *) &FvFileDevicePathNode->FvFileName; + if (DevicePathType (&FvDevicePathNode->Header) == MEDIA_DEVICE_PATH && + DevicePathSubType (&FvDevicePathNode->Header) == MEDIA_PIWG_FW_FILE_DP) { + return (EFI_GUID *) &FvDevicePathNode->FvFileName; } return NULL; @@ -318,20 +318,20 @@ EfiGetNameGuidFromFwVolDevicePathNode ( VOID EFIAPI EfiInitializeFwVolDevicepathNode ( - IN OUT MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvFileDevicePathNode, - IN CONST EFI_GUID *NameGuid + IN OUT MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode, + IN CONST EFI_GUID *NameGuid ) { - ASSERT (FvFileDevicePathNode != NULL); + ASSERT (FvDevicePathNode != NULL); ASSERT (NameGuid != NULL); // // Use the new Device path that does not conflict with the UEFI // - FvFileDevicePathNode->Header.Type = MEDIA_DEVICE_PATH; - FvFileDevicePathNode->Header.SubType = MEDIA_PIWG_FW_FILE_DP; - SetDevicePathNodeLength (&FvFileDevicePathNode->Header, sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH)); + FvDevicePathNode->Header.Type = MEDIA_DEVICE_PATH; + FvDevicePathNode->Header.SubType = MEDIA_PIWG_FW_FILE_DP; + SetDevicePathNodeLength (&FvDevicePathNode->Header, sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH)); - CopyGuid (&FvFileDevicePathNode->FvFileName, NameGuid); + CopyGuid (&FvDevicePathNode->FvFileName, NameGuid); } -- cgit v1.2.3