Code Scrub for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5567 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
@retval FALSE Language 1 and language 2 are not the same.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
BOOLEAN
|
||||
CompareIso639LanguageCode (
|
||||
IN CONST CHAR8 *Language1,
|
||||
@@ -257,7 +256,7 @@ EfiNamedEventSignal (
|
||||
|
||||
@param VOID
|
||||
|
||||
@retvale EFI_TPL The current TPL.
|
||||
@retval EFI_TPL The current TPL.
|
||||
|
||||
**/
|
||||
EFI_TPL
|
||||
@@ -308,7 +307,7 @@ EfiInitializeLock (
|
||||
priority level of the mutual exclusion lock. Then, it places the lock in the
|
||||
acquired state.
|
||||
|
||||
@param Priority The task priority level of the lock.
|
||||
@param Lock The task lock with priority level.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@@ -457,7 +456,7 @@ EfiTestManagedDevice (
|
||||
|
||||
@param ControllerHandle A handle for a (parent) controller to test.
|
||||
@param ChildHandle A child handle to test.
|
||||
@param ConsumsedGuid Supplies the protocol that the child controller
|
||||
@param ProtocolGuid Supplies the protocol that the child controller
|
||||
opens on its parent controller.
|
||||
|
||||
@retval EFI_SUCCESS ChildHandle is a child of the ControllerHandle.
|
||||
@@ -1076,7 +1075,7 @@ AddUnicodeString2 (
|
||||
while (OldUnicodeStringTable->Language != NULL) {
|
||||
LanguageString = OldUnicodeStringTable->Language;
|
||||
|
||||
while (*LanguageString) {
|
||||
while (*LanguageString != 0) {
|
||||
for (Index = 0; LanguageString[Index] != 0 && LanguageString[Index] != ';'; Index++);
|
||||
|
||||
if (AsciiStrnCmp (Language, LanguageString, Index) == 0) {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
/**@file
|
||||
/** @file
|
||||
Internal include file for UefiLib.
|
||||
|
||||
Copyright (c) 2007, Intel Corporation.<BR>
|
||||
|
@@ -36,9 +36,8 @@
|
||||
@return The number of Unicode characters in the produced
|
||||
output buffer not including the Null-terminator.
|
||||
**/
|
||||
|
||||
STATIC
|
||||
UINTN
|
||||
EFIAPI
|
||||
InternalPrint (
|
||||
IN CONST CHAR16 *Format,
|
||||
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *Console,
|
||||
@@ -170,8 +169,8 @@ ErrorPrint (
|
||||
output buffer not including the Null-terminator.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
UINTN
|
||||
EFIAPI
|
||||
AsciiInternalPrint (
|
||||
IN CONST CHAR8 *Format,
|
||||
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *Console,
|
||||
|
@@ -28,9 +28,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
This empty function ensures that EFI_EVENT_NOTIFY_SIGNAL_ALL is error
|
||||
checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.
|
||||
|
||||
@param Event Event whose notification function is being invoked.
|
||||
@param Context Pointer to the notification function's context,
|
||||
which is implementation-dependent.
|
||||
|
||||
**/
|
||||
STATIC
|
||||
VOID
|
||||
EFIAPI
|
||||
InternalEmptyFuntion (
|
||||
@@ -135,7 +138,7 @@ EfiCreateEventLegacyBootEx (
|
||||
the EDK/EFI 1.10 form and EDK II/UEFI 2.0 form and allows common code to
|
||||
work both ways.
|
||||
|
||||
@param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||
@param ReadyToBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||
|
||||
@retval EFI_SUCCESS Event was created.
|
||||
@retval Other Event was not created.
|
||||
@@ -168,7 +171,7 @@ EfiCreateEventReadyToBoot (
|
||||
@param NotifyTpl The task priority level of the event.
|
||||
@param NotifyFunction The notification function to call when the event is signaled.
|
||||
@param NotifyContext The content to pass to NotifyFunction when the event is signaled.
|
||||
@param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||
@param ReadyToBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||
|
||||
@retval EFI_SUCCESS Event was created.
|
||||
@retval Other Event was not created.
|
||||
@@ -269,7 +272,7 @@ EfiSignalEventLegacyBoot (
|
||||
function points to a location in FvDevicePathNode and it does not allocate
|
||||
new memory for the GUID pointer that is returned.
|
||||
|
||||
@param FvDevicePathNode Pointer to FV device path to check.
|
||||
@param FvFileDevicePathNode Pointer to FV device path to check.
|
||||
|
||||
@retval NULL FvDevicePathNode is not valid.
|
||||
@retval Other FvDevicePathNode is valid and pointer to NameGuid was returned.
|
||||
@@ -302,7 +305,7 @@ EfiGetNameGuidFromFwVolDevicePathNode (
|
||||
is compiled to conform with the UEFI 2.0 specification use the new device path
|
||||
else use the old form for backwards compatability.
|
||||
|
||||
@param FvDevicePathNode Pointer to a FV device path node to initialize
|
||||
@param FvFileDevicePathNode Pointer to a FV device path node to initialize
|
||||
@param NameGuid FV file name to use in FvDevicePathNode
|
||||
|
||||
**/
|
||||
|
Reference in New Issue
Block a user