git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9686
6f19259b-4bc3-4df7-8a09-
765794883524
2) BDS boot device connect interface\r
3) BDS Misc interfaces for mainting boot variable, ouput string.\r
\r
2) BDS boot device connect interface\r
3) BDS Misc interfaces for mainting boot variable, ouput string.\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
UINTN Maxlen;\r
} POOL_PRINT;\r
\r
UINTN Maxlen;\r
} POOL_PRINT;\r
\r
+typedef\r
+VOID\r
+(*DEV_PATH_FUNCTION) (\r
+ IN OUT POOL_PRINT *Str,\r
+ IN VOID *DevPath\r
+ );\r
+\r
- UINT8 Type;\r
- UINT8 SubType;\r
- VOID (*Function) (POOL_PRINT *, VOID *);\r
+ UINT8 Type;\r
+ UINT8 SubType;\r
+ DEV_PATH_FUNCTION Function;\r
} DEVICE_PATH_STRING_TABLE;\r
\r
extern EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;\r
} DEVICE_PATH_STRING_TABLE;\r
\r
extern EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;\r
/** @file\r
Shadow all option rom\r
\r
/** @file\r
Shadow all option rom\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
Shadow all opton ROM if the it is not done.\r
**/\r
VOID\r
Shadow all opton ROM if the it is not done.\r
**/\r
VOID\r
ShadowAllOptionRom(\r
VOID\r
)\r
ShadowAllOptionRom(\r
VOID\r
)\r
/** @file\r
The platform device manager reference implementation\r
\r
/** @file\r
The platform device manager reference implementation\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
Check the Driver Health status of a single controller and try to process it if not healthy.\r
\r
This function called by CheckAllControllersHealthStatus () function in order to process a specify\r
contoller's health state.\r
\r
Check the Driver Health status of a single controller and try to process it if not healthy.\r
\r
This function called by CheckAllControllersHealthStatus () function in order to process a specify\r
contoller's health state.\r
\r
- @param DriverHealth A pointer to the EFI_DRIVER_HEALTH_PROTOCOL instance.\r
+ @param DriverHealthList A Pointer to the list contain all of the platform driver health information. \r
+ @param DriverHandle The handle of driver.\r
@param ControllerHandle The class guid specifies which form set will be displayed.\r
@param ChildHandle The handle of the child controller to retrieve the health \r
@param ControllerHandle The class guid specifies which form set will be displayed.\r
@param ChildHandle The handle of the child controller to retrieve the health \r
- status on. This is an optional parameter that may be NULL. \r
+ status on. This is an optional parameter that may be NULL. \r
+ @param DriverHealth A pointer to the EFI_DRIVER_HEALTH_PROTOCOL instance.\r
@param HealthStatus The health status of the controller.\r
@param HealthStatus The health status of the controller.\r
- @param MessageList An array of warning or error messages associated \r
- with the controller specified by ControllerHandle and \r
- ChildHandle. This is an optional parameter that may be NULL.\r
- @param FormHiiHandle The HII handle for an HII form associated with the \r
- controller specified by ControllerHandle and ChildHandle.\r
\r
@retval EFI_INVALID_PARAMETER HealthStatus or DriverHealth is NULL.\r
@retval HealthStatus The Health status of specify controller.\r
\r
@retval EFI_INVALID_PARAMETER HealthStatus or DriverHealth is NULL.\r
@retval HealthStatus The Health status of specify controller.\r
@retval EFI_NOT_FOUND No controller in the platform install Driver Health Protocol.\r
@retval EFI_SUCCESS The Health related operation has been taken successfully.\r
\r
@retval EFI_NOT_FOUND No controller in the platform install Driver Health Protocol.\r
@retval EFI_SUCCESS The Health related operation has been taken successfully.\r
\r
EFI_STATUS\r
EFIAPI\r
GetSingleControllerHealthStatus (\r
EFI_STATUS\r
EFIAPI\r
GetSingleControllerHealthStatus (\r
Check the healthy status of the platform, this function will return immediately while found one driver \r
in the platform are not healthy.\r
\r
@retval FALSE at least one driver in the platform are not healthy.\r
@retval TRUE No controller install Driver Health Protocol,\r
or all controllers in the platform are in healthy status.\r
Check the healthy status of the platform, this function will return immediately while found one driver \r
in the platform are not healthy.\r
\r
@retval FALSE at least one driver in the platform are not healthy.\r
@retval TRUE No controller install Driver Health Protocol,\r
or all controllers in the platform are in healthy status.\r
BOOLEAN\r
PlaformHealthStatusCheck (\r
VOID\r
BOOLEAN\r
PlaformHealthStatusCheck (\r
VOID\r
Repair the whole platform.\r
\r
This function is the main entry for user choose "Repair All" in the front page.\r
Repair the whole platform.\r
\r
This function is the main entry for user choose "Repair All" in the front page.\r
@param DriverHealthList A Pointer to the list contain all of the platform driver health\r
information.\r
\r
@param DriverHealthList A Pointer to the list contain all of the platform driver health\r
information.\r
\r
VOID\r
PlatformRepairAll (\r
IN LIST_ENTRY *DriverHealthList\r
VOID\r
PlatformRepairAll (\r
IN LIST_ENTRY *DriverHealthList\r
@param SupportedLanguage The best suitable language that matches the SupportedLangues interface for the \r
located Component Name (2) instance.\r
\r
@param SupportedLanguage The best suitable language that matches the SupportedLangues interface for the \r
located Component Name (2) instance.\r
\r
- @param EFI_SUCCESS The Component Name (2) protocol instance is successfully located and we find\r
+ @retval EFI_SUCCESS The Component Name (2) protocol instance is successfully located and we find\r
the best matching language it support.\r
the best matching language it support.\r
- @param EFI_UNSUPPORTED The input Language is not supported by the Component Name (2) protocol.\r
- @param Other Some error occurs when locating Component Name (2) protocol instance or finding\r
+ @retval EFI_UNSUPPORTED The input Language is not supported by the Component Name (2) protocol.\r
+ @retval Other Some error occurs when locating Component Name (2) protocol instance or finding\r
the supported language.\r
\r
**/\r
the supported language.\r
\r
**/\r
It will also be NULL for bus drivers that attempt to retrieve the name\r
of the bus controller. It will not be NULL for a bus driver that attempts\r
to retrieve the name of a child controller.\r
It will also be NULL for bus drivers that attempt to retrieve the name\r
of the bus controller. It will not be NULL for a bus driver that attempts\r
to retrieve the name of a child controller.\r
- @param Language An ASCII string that represents the language command line option.\r
@param ControllerName A pointer to the Unicode string to return. This Unicode string\r
is the name of the controller specified by ControllerHandle and ChildHandle.\r
\r
@param ControllerName A pointer to the Unicode string to return. This Unicode string\r
is the name of the controller specified by ControllerHandle and ChildHandle.\r
\r
/** @file\r
The platform device manager reference implement\r
\r
/** @file\r
The platform device manager reference implement\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
Check the Driver Health status of a single controller and try to process it if not healthy.\r
\r
This function called by CheckAllControllersHealthStatus () function in order to process a specify\r
contoller's health state.\r
\r
Check the Driver Health status of a single controller and try to process it if not healthy.\r
\r
This function called by CheckAllControllersHealthStatus () function in order to process a specify\r
contoller's health state.\r
\r
- @param DriverHealth A pointer to the EFI_DRIVER_HEALTH_PROTOCOL instance.\r
+ @param DriverHealthList A Pointer to the list contain all of the platform driver health information. \r
+ @param DriverHandle The handle of driver.\r
@param ControllerHandle The class guid specifies which form set will be displayed.\r
@param ChildHandle The handle of the child controller to retrieve the health \r
@param ControllerHandle The class guid specifies which form set will be displayed.\r
@param ChildHandle The handle of the child controller to retrieve the health \r
- status on. This is an optional parameter that may be NULL. \r
+ status on. This is an optional parameter that may be NULL. \r
+ @param DriverHealth A pointer to the EFI_DRIVER_HEALTH_PROTOCOL instance.\r
@param HealthStatus The health status of the controller.\r
@param HealthStatus The health status of the controller.\r
- @param MessageList An array of warning or error messages associated \r
- with the controller specified by ControllerHandle and \r
- ChildHandle. This is an optional parameter that may be NULL.\r
- @param FormHiiHandle The HII handle for an HII form associated with the \r
- controller specified by ControllerHandle and ChildHandle.\r
\r
@retval EFI_INVALID_PARAMETER HealthStatus or DriverHealth is NULL.\r
@retval HealthStatus The Health status of specify controller.\r
\r
@retval EFI_INVALID_PARAMETER HealthStatus or DriverHealth is NULL.\r
@retval HealthStatus The Health status of specify controller.\r
@retval EFI_NOT_FOUND No controller in the platform install Driver Health Protocol.\r
@retval EFI_SUCCESS The Health related operation has been taken successfully.\r
\r
@retval EFI_NOT_FOUND No controller in the platform install Driver Health Protocol.\r
@retval EFI_SUCCESS The Health related operation has been taken successfully.\r
\r
EFI_STATUS\r
EFIAPI\r
GetSingleControllerHealthStatus (\r
EFI_STATUS\r
EFIAPI\r
GetSingleControllerHealthStatus (\r
IN OUT LIST_ENTRY *DriverHealthList\r
);\r
\r
IN OUT LIST_ENTRY *DriverHealthList\r
);\r
\r
Check the healthy status of the platform, this function will return immediately while found one driver \r
in the platform are not healthy.\r
\r
@retval FALSE at least one driver in the platform are not healthy.\r
@retval TRUE No controller install Driver Health Protocol,\r
or all controllers in the platform are in healthy status.\r
Check the healthy status of the platform, this function will return immediately while found one driver \r
in the platform are not healthy.\r
\r
@retval FALSE at least one driver in the platform are not healthy.\r
@retval TRUE No controller install Driver Health Protocol,\r
or all controllers in the platform are in healthy status.\r
BOOLEAN\r
PlaformHealthStatusCheck (\r
VOID\r
);\r
\r
BOOLEAN\r
PlaformHealthStatusCheck (\r
VOID\r
);\r
\r
Repair the whole platform.\r
\r
This function is the main entry for user choose "Repair All" in the front page.\r
Repair the whole platform.\r
\r
This function is the main entry for user choose "Repair All" in the front page.\r
@param DriverHealthList A Pointer to the list contain all of the platform driver health\r
information.\r
\r
@param DriverHealthList A Pointer to the list contain all of the platform driver health\r
information.\r
\r
VOID\r
PlatformRepairAll (\r
IN LIST_ENTRY *DriverHealthList\r
VOID\r
PlatformRepairAll (\r
IN LIST_ENTRY *DriverHealthList\r
@param SupportedLanguage The best suitable language that matches the SupportedLangues interface for the \r
located Component Name (2) instance.\r
\r
@param SupportedLanguage The best suitable language that matches the SupportedLangues interface for the \r
located Component Name (2) instance.\r
\r
- @param EFI_SUCCESS The Component Name (2) protocol instance is successfully located and we find\r
+ @retval EFI_SUCCESS The Component Name (2) protocol instance is successfully located and we find\r
the best matching language it support.\r
the best matching language it support.\r
- @param EFI_UNSUPPORTED The input Language is not supported by the Component Name (2) protocol.\r
- @param Other Some error occurs when locating Component Name (2) protocol instance or finding\r
+ @retval EFI_UNSUPPORTED The input Language is not supported by the Component Name (2) protocol.\r
+ @retval Other Some error occurs when locating Component Name (2) protocol instance or finding\r
the supported language.\r
\r
**/\r
the supported language.\r
\r
**/\r
@retval Other The controller name cannot be retrieved from Component Name (2) protocol.\r
\r
**/\r
@retval Other The controller name cannot be retrieved from Component Name (2) protocol.\r
\r
**/\r
EFI_STATUS\r
GetControllerNameWorker (\r
IN EFI_GUID *ProtocolGuid,\r
EFI_STATUS\r
GetControllerNameWorker (\r
IN EFI_GUID *ProtocolGuid,\r