/** @file\r
- XenBus Bus driver implemtation.\r
+ XenBus Bus driver implementation.\r
\r
This file implement the necessary to discover and enumerate Xen PV devices\r
through XenStore.\r
* happen if a device is going away after\r
* switching to Closed.\r
*/\r
- DEBUG ((EFI_D_INFO, "XenBus: Device %a ignored. "\r
+ DEBUG ((DEBUG_INFO, "XenBus: Device %a ignored. "\r
"State %d\n", DevicePath, State));\r
Status = EFI_SUCCESS;\r
goto out;\r
StatusXenStore = XenStoreRead (XST_NIL, DevicePath, "backend",\r
NULL, (VOID **) &BackendPath);\r
if (StatusXenStore != XENSTORE_STATUS_SUCCESS) {\r
- DEBUG ((EFI_D_ERROR, "xenbus: %a no backend path.\n", DevicePath));\r
+ DEBUG ((DEBUG_ERROR, "xenbus: %a no backend path.\n", DevicePath));\r
Status = EFI_NOT_FOUND;\r
goto out;\r
}\r
Private->Handle,\r
EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "open by child controller fail (%r)\n",\r
+ DEBUG ((DEBUG_ERROR, "open by child controller fail (%r)\n",\r
Status));\r
goto ErrorOpenProtocolByChild;\r
}\r
} else {\r
- DEBUG ((EFI_D_ERROR, "XenBus: does not exist: %a\n", DevicePath));\r
+ DEBUG ((DEBUG_ERROR, "XenBus: does not exist: %a\n", DevicePath));\r
Status = EFI_NOT_FOUND;\r
}\r
\r
XENSTORE_STATUS Status;\r
CHAR8 *Temp;\r
\r
- DEBUG ((EFI_D_INFO, "XenBus: Set state to %d\n", NewState));\r
+ DEBUG ((DEBUG_INFO, "XenBus: Set state to %d\n", NewState));\r
\r
Status = XenStoreRead (Transaction, This->Node, "state", NULL, (VOID **)&Temp);\r
if (Status != XENSTORE_STATUS_SUCCESS) {\r
Status = XenStoreSPrint (Transaction, This->Node, "state", "%d", NewState);\r
} while (Status == XENSTORE_STATUS_EAGAIN);\r
if (Status != XENSTORE_STATUS_SUCCESS) {\r
- DEBUG ((EFI_D_ERROR, "XenBus: failed to write new state\n"));\r
+ DEBUG ((DEBUG_ERROR, "XenBus: failed to write new state\n"));\r
goto Out;\r
}\r
- DEBUG ((EFI_D_INFO, "XenBus: Set state to %d, done\n", NewState));\r
+ DEBUG ((DEBUG_INFO, "XenBus: Set state to %d, done\n", NewState));\r
\r
Out:\r
return Status;\r