summaryrefslogtreecommitdiff
path: root/src/dev/pcireg.h
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-08-28 11:01:25 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2006-08-28 11:01:25 -0700
commitb77da23e1ae15eff2475d16f11b0b394b82c831e (patch)
treefab92a05ade69619b1a86844fccdd12fbac8e79d /src/dev/pcireg.h
parent19d51452b1d4809de31702a7132cfba53af9dfd2 (diff)
downloadgem5-b77da23e1ae15eff2475d16f11b0b394b82c831e.tar.xz
Get rid of unneeded union.
Verify that BAR sizes are powers of two. --HG-- extra : convert_revision : ce8dca07aaf1a340cc166b99b5858613a954e2fd
Diffstat (limited to 'src/dev/pcireg.h')
-rw-r--r--src/dev/pcireg.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/dev/pcireg.h b/src/dev/pcireg.h
index a48abd4fa..df57acdb0 100644
--- a/src/dev/pcireg.h
+++ b/src/dev/pcireg.h
@@ -54,18 +54,7 @@ union PCIConfig {
uint8_t latencyTimer;
uint8_t headerType;
uint8_t bist;
- union {
- uint32_t baseAddr[6];
-
- struct {
- uint32_t baseAddr0;
- uint32_t baseAddr1;
- uint32_t baseAddr2;
- uint32_t baseAddr3;
- uint32_t baseAddr4;
- uint32_t baseAddr5;
- };
- };
+ uint32_t baseAddr[6];
uint32_t cardbusCIS;
uint16_t subsystemVendorID;
uint16_t subsystemID;