From 71b320c703bd88623eebac56df24bb47267a0785 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 23 Jun 2009 09:31:41 +0000 Subject: fixed Unix GCC build issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8628 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 27 +++++++++++----------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'IntelFrameworkModulePkg/Bus/Pci') diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h index 43ccf83e67..9a0051e442 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h @@ -50,7 +50,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. typedef struct _PCI_IO_DEVICE PCI_IO_DEVICE; typedef struct _PCI_BAR PCI_BAR; -typedef enum _PCI_BAR_TYPE PCI_BAR_TYPE; + +typedef enum { + PciBarTypeUnknown = 0, + PciBarTypeIo16, + PciBarTypeIo32, + PciBarTypeMem32, + PciBarTypePMem32, + PciBarTypeMem64, + PciBarTypePMem64, + PciBarTypeIo, + PciBarTypeMem, + PciBarTypeMaxType +} PCI_BAR_TYPE; #include "ComponentName.h" #include "PciIo.h" @@ -74,19 +86,6 @@ typedef enum _PCI_BAR_TYPE PCI_BAR_TYPE; #define ISABASE 0x100 #define ISALIMIT 0x3FF -enum _PCI_BAR_TYPE { - PciBarTypeUnknown = 0, - PciBarTypeIo16, - PciBarTypeIo32, - PciBarTypeMem32, - PciBarTypePMem32, - PciBarTypeMem64, - PciBarTypePMem64, - PciBarTypeIo, - PciBarTypeMem, - PciBarTypeMaxType -}; - // // PCI BAR parameters // -- cgit v1.2.3