git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8628
6f19259b-4bc3-4df7-8a09-
765794883524
\r
typedef struct _PCI_IO_DEVICE PCI_IO_DEVICE;\r
typedef struct _PCI_BAR PCI_BAR;\r
\r
typedef struct _PCI_IO_DEVICE PCI_IO_DEVICE;\r
typedef struct _PCI_BAR PCI_BAR;\r
-typedef enum _PCI_BAR_TYPE PCI_BAR_TYPE;\r
+\r
+typedef enum {\r
+ PciBarTypeUnknown = 0,\r
+ PciBarTypeIo16,\r
+ PciBarTypeIo32,\r
+ PciBarTypeMem32,\r
+ PciBarTypePMem32,\r
+ PciBarTypeMem64,\r
+ PciBarTypePMem64,\r
+ PciBarTypeIo,\r
+ PciBarTypeMem,\r
+ PciBarTypeMaxType\r
+} PCI_BAR_TYPE;\r
\r
#include "ComponentName.h"\r
#include "PciIo.h"\r
\r
#include "ComponentName.h"\r
#include "PciIo.h"\r
#define ISABASE 0x100\r
#define ISALIMIT 0x3FF\r
\r
#define ISABASE 0x100\r
#define ISALIMIT 0x3FF\r
\r
-enum _PCI_BAR_TYPE {\r
- PciBarTypeUnknown = 0,\r
- PciBarTypeIo16,\r
- PciBarTypeIo32,\r
- PciBarTypeMem32,\r
- PciBarTypePMem32,\r
- PciBarTypeMem64,\r
- PciBarTypePMem64,\r
- PciBarTypeIo,\r
- PciBarTypeMem,\r
- PciBarTypeMaxType\r
-};\r
-\r
//\r
// PCI BAR parameters\r
//\r
//\r
// PCI BAR parameters\r
//\r