-GLOBAL_REMOVE_IF_UNREFERENCED EFI_DEVICE_PATH_UTILITIES_PROTOCOL *mDevicePathLibDevicePathUtilities = NULL;\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_DEVICE_PATH_TO_TEXT_PROTOCOL *mDevicePathLibDevicePathToText = NULL;\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL *mDevicePathLibDevicePathFromText = NULL;\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_DEVICE_PATH_UTILITIES_PROTOCOL *mDevicePathLibDevicePathUtilities = NULL;\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_DEVICE_PATH_TO_TEXT_PROTOCOL *mDevicePathLibDevicePathToText = NULL;\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL *mDevicePathLibDevicePathFromText = NULL;\r
- IN EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE *SystemTable\r
+ IN EFI_HANDLE ImageHandle,\r
+ IN EFI_SYSTEM_TABLE *SystemTable\r
\r
Status = gBS->LocateProtocol (\r
&gEfiDevicePathUtilitiesProtocolGuid,\r
NULL,\r
\r
Status = gBS->LocateProtocol (\r
&gEfiDevicePathUtilitiesProtocolGuid,\r
NULL,\r
if (mDevicePathLibDevicePathToText == NULL) {\r
mDevicePathLibDevicePathToText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathToTextProtocolGuid);\r
}\r
if (mDevicePathLibDevicePathToText == NULL) {\r
mDevicePathLibDevicePathToText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathToTextProtocolGuid);\r
}\r
if (mDevicePathLibDevicePathToText != NULL) {\r
return mDevicePathLibDevicePathToText->ConvertDeviceNodeToText (DeviceNode, DisplayOnly, AllowShortcuts);\r
}\r
if (mDevicePathLibDevicePathToText != NULL) {\r
return mDevicePathLibDevicePathToText->ConvertDeviceNodeToText (DeviceNode, DisplayOnly, AllowShortcuts);\r
}\r
- IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,\r
- IN BOOLEAN DisplayOnly,\r
- IN BOOLEAN AllowShortcuts\r
+ IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,\r
+ IN BOOLEAN DisplayOnly,\r
+ IN BOOLEAN AllowShortcuts\r
)\r
{\r
if (mDevicePathLibDevicePathToText == NULL) {\r
mDevicePathLibDevicePathToText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathToTextProtocolGuid);\r
}\r
)\r
{\r
if (mDevicePathLibDevicePathToText == NULL) {\r
mDevicePathLibDevicePathToText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathToTextProtocolGuid);\r
}\r
if (mDevicePathLibDevicePathToText != NULL) {\r
return mDevicePathLibDevicePathToText->ConvertDevicePathToText (DevicePath, DisplayOnly, AllowShortcuts);\r
}\r
if (mDevicePathLibDevicePathToText != NULL) {\r
return mDevicePathLibDevicePathToText->ConvertDevicePathToText (DevicePath, DisplayOnly, AllowShortcuts);\r
}\r
)\r
{\r
if (mDevicePathLibDevicePathFromText == NULL) {\r
mDevicePathLibDevicePathFromText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathFromTextProtocolGuid);\r
}\r
)\r
{\r
if (mDevicePathLibDevicePathFromText == NULL) {\r
mDevicePathLibDevicePathFromText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathFromTextProtocolGuid);\r
}\r
if (mDevicePathLibDevicePathFromText != NULL) {\r
return mDevicePathLibDevicePathFromText->ConvertTextToDeviceNode (TextDeviceNode);\r
}\r
if (mDevicePathLibDevicePathFromText != NULL) {\r
return mDevicePathLibDevicePathFromText->ConvertTextToDeviceNode (TextDeviceNode);\r
}\r
)\r
{\r
if (mDevicePathLibDevicePathFromText == NULL) {\r
mDevicePathLibDevicePathFromText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathFromTextProtocolGuid);\r
}\r
)\r
{\r
if (mDevicePathLibDevicePathFromText == NULL) {\r
mDevicePathLibDevicePathFromText = UefiDevicePathLibLocateProtocol (&gEfiDevicePathFromTextProtocolGuid);\r
}\r
if (mDevicePathLibDevicePathFromText != NULL) {\r
return mDevicePathLibDevicePathFromText->ConvertTextToDevicePath (TextDevicePath);\r
}\r
if (mDevicePathLibDevicePathFromText != NULL) {\r
return mDevicePathLibDevicePathFromText->ConvertTextToDevicePath (TextDevicePath);\r
}\r