/* Print out information of the device root status information. */
EFI_STATUS ExplainPcieRootStatus(IN PCI_CAPABILITY_PCIEXP *PciExpressCap)
/* Print out information of the device root status information. */
EFI_STATUS ExplainPcieRootStatus(IN PCI_CAPABILITY_PCIEXP *PciExpressCap)
{
  ShellPrintEx (
    -1,
    -1,
    L"  PME Requester ID(15:0):                       %E0x%04x%N\r\n",
    PciExpressCap->RootStatus.Bits.PmeRequesterId
    );
  ShellPrintEx (
    -1,
    -1,
    L"  PME Status(16):                               %E%d%N\r\n",
    PciExpressCap->RootStatus.Bits.PmeStatus
    );
  ShellPrintEx (
    -1,
    -1,
    L"  PME Pending(17):                              %E%d%N\r\n",
    PciExpressCap->RootStatus.Bits.PmePending
    );
  return EFI_SUCCESS;
}