[edk2-devel] [PATCH v3 2/6] OvmfPkg/FdtPciHostBridgeLib: io range is not mandatory

Gerd Hoffmann kraxel at redhat.com
Tue Apr 12 09:03:56 UTC 2022


  Hi,

> > -  Io.Base   = IoBase;
> > -  Io.Limit  = IoBase + IoSize - 1;
> > +  if (IoSize) {
> > +    Io.Base  = IoBase;
> > +    Io.Limit = IoBase + IoSize - 1;
> > +  } else {
> > +    Io.Base  = MAX_UINT64;
> > +    Io.Limit = 0;
> HI Gerd,
> Does the consumer of Io (in PCI_ROOT_BRIDGE structure) know that the MAX_UINT64 for Io.Base refers to no memory map I/O?

Patch #1 handles that.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88764): https://edk2.groups.io/g/devel/message/88764
Mute This Topic: https://groups.io/mt/90309349/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list