OvmfPkg/IncompatiblePci: Do not use deprecated macros

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Ruiyu Ni 2017-02-06 11:28:29 +08:00
parent 29dbdcabf9
commit a419fd0d29
1 changed files with 7 additions and 6 deletions

View File

@ -4,6 +4,7 @@
is not present), conserving 32-bit MMIO aperture for 32-bit BARs. is not present), conserving 32-bit MMIO aperture for 32-bit BARs.
Copyright (C) 2016, Red Hat, Inc. Copyright (C) 2016, Red Hat, Inc.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this under the terms and conditions of the BSD License which accompanies this
@ -66,19 +67,19 @@ STATIC CONST MMIO64_PREFERENCE mConfiguration = {
) )
), ),
ACPI_ADDRESS_SPACE_TYPE_MEM, // ResType ACPI_ADDRESS_SPACE_TYPE_MEM, // ResType
PCI_ACPI_UNUSED, // GenFlag 0, // GenFlag
PCI_ACPI_UNUSED, // SpecificFlag 0, // SpecificFlag
64, // AddrSpaceGranularity: 64, // AddrSpaceGranularity:
// aperture selection hint // aperture selection hint
// for BAR allocation // for BAR allocation
PCI_ACPI_UNUSED, // AddrRangeMin 0, // AddrRangeMin
PCI_BAR_OLD_ALIGN, // AddrRangeMax: 0, // AddrRangeMax:
// no special alignment // no special alignment
// for affected BARs // for affected BARs
PCI_BAR_ALL, // AddrTranslationOffset: MAX_UINT64, // AddrTranslationOffset:
// hint covers all // hint covers all
// eligible BARs // eligible BARs
PCI_BAR_NOCHANGE // AddrLen: 0 // AddrLen:
// use probed BAR size // use probed BAR size
}, },
// //