add comments to function declarations and definitions and updated to match coding style document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11505 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -58,8 +58,6 @@ GetDeviceHandleInfo (
|
||||
EFI_HANDLE *HandleBuffer;
|
||||
UINTN Count;
|
||||
|
||||
UINTN TestHandle = 0x43;
|
||||
|
||||
if (TheHandle == NULL
|
||||
|| Type == NULL
|
||||
|| Cfg == NULL
|
||||
@@ -71,10 +69,6 @@ GetDeviceHandleInfo (
|
||||
return (EFI_INVALID_PARAMETER);
|
||||
}
|
||||
|
||||
if (ConvertHandleToHandleIndex(TheHandle) == TestHandle) {
|
||||
TestHandle = TestHandle;
|
||||
}
|
||||
|
||||
*Cfg = FALSE;
|
||||
*Diag = FALSE;
|
||||
*Children = 0;
|
||||
|
@@ -211,7 +211,7 @@ DoDiagnostics (
|
||||
FreePool(Language);
|
||||
}
|
||||
}
|
||||
if (Found == FALSE && (Lang == NULL||(Lang!=NULL&&Lang[2]!='-'))){
|
||||
if (!Found && (Lang == NULL||(Lang!=NULL&&(Lang[2]!='-')))){
|
||||
Status = gBS->OpenProtocol(
|
||||
DriverHandleList[DriverHandleListLoop],
|
||||
&gEfiDriverDiagnosticsProtocolGuid,
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
**/
|
||||
|
||||
#if !defined (_UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_)
|
||||
#ifndef _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_
|
||||
#define _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_
|
||||
|
||||
#include <Uefi.h>
|
||||
|
Reference in New Issue
Block a user