/** @file\r
Library functions which relates with driver health.\r
\r
-Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
This program and the accompanying materials\r
\r
Status = ComponentName->GetControllerName (\r
ComponentName,\r
- ControllerHandle, \r
+ ControllerHandle,\r
ChildHandle,\r
BestLanguage,\r
&ControllerName\r
\r
ControllerName = BmGetControllerName (\r
DriverHealthInfo->DriverHealthHandle,\r
- DriverHealthInfo->ControllerHandle, \r
+ DriverHealthInfo->ControllerHandle,\r
DriverHealthInfo->ChildHandle\r
);\r
\r
\r
/**\r
Collect the Driver Health status of a single controller.\r
- \r
+\r
@param DriverHealthInfo A pointer to the array containing all of the platform driver health information.\r
@param Count Return the updated array count.\r
@param DriverHealthHandle The handle on which the Driver Health protocol instance is retrieved.\r
(VOID **) &DriverHealth\r
);\r
ASSERT_EFI_ERROR (Status);\r
- \r
+\r
\r
if (ControllerHandle == NULL) {\r
//\r
if (DriverHealthInfo[Index].HealthStatus == EfiDriverHealthStatusConfigurationRequired) {\r
ConfigurationRequired = TRUE;\r
}\r
- \r
+\r
if (DriverHealthInfo[Index].HealthStatus == EfiDriverHealthStatusRepairRequired) {\r
RepairRequired = TRUE;\r
\r
FreePool (HiiHandles);\r
}\r
}\r
- \r
+\r
EfiBootManagerFreeDriverHealthInfo (DriverHealthInfo, Count);\r
RepairCount++;\r
} while ((RepairRequired || ConfigurationRequired) && ((MaxRepairCount == 0) || (RepairCount < MaxRepairCount)));\r