20InitializeXenioFdtDxe (
29 UINTN AddressCells, SizeCells;
33 Status =
gBS->LocateProtocol (
34 &gFdtClientProtocolGuid,
40 Status = FdtClient->FindCompatibleNodeReg (
48 if (EFI_ERROR (Status)) {
51 "%a: No 'xen,xen' compatible DT node found\n",
54 return EFI_UNSUPPORTED;
57 ASSERT (AddressCells == 2);
58 ASSERT (SizeCells == 2);
59 ASSERT (RegSize == 2 *
sizeof (UINT64));
68 if (EFI_ERROR (Status)) {
71 "%a: XenIoMmioInstall () failed on a new handle "
79 DEBUG ((DEBUG_INFO,
"Found Xen node with Grant table @ 0x%Lx\n", RegBase));
UINT64 EFIAPI SwapBytes64(IN UINT64 Value)
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
EFI_STATUS XenIoMmioInstall(IN OUT EFI_HANDLE *Handle, IN EFI_PHYSICAL_ADDRESS GrantTableAddress)