In order to match the previous commit, Base must be strictly larger than
Limit if some type of aperture is not available on a PCI root bridge.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
RootBus->DmaAbove4G = FALSE;\r
\r
RootBus->AllocationAttributes = EFI_PCI_HOST_BRIDGE_COMBINE_MEM_PMEM;\r
- RootBus->PMem.Base = 0;\r
+ RootBus->PMem.Base = MAX_UINT64;\r
RootBus->PMem.Limit = 0;\r
- RootBus->PMemAbove4G.Base = 0;\r
+ RootBus->PMemAbove4G.Base = MAX_UINT64;\r
RootBus->PMemAbove4G.Limit = 0;\r
- RootBus->MemAbove4G.Base = 0;\r
+ RootBus->MemAbove4G.Base = MAX_UINT64;\r
RootBus->MemAbove4G.Limit = 0;\r
\r
if (PcdGet64 (PcdPciMmio64Size) > 0) {\r