Many files:
[gem5.git] / dev / pcireg.h
index dcf6b6d12592414b2949b4843ff53e73119c64bd..2f71a46baa140c143b683a65d9f53680ed94689c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004 The Regents of The University of Michigan
+ * Copyright (c) 2001-2005 The Regents of The University of Michigan
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -114,6 +114,11 @@ union PCIConfig {
 #define PCI_HEADER_TYPE                0x0E    // Header Type                  ro
 #define PCI_BIST               0x0F    // Built in self test           rw
 
+// some pci command reg bitfields
+#define PCI_CMD_BME     0x04 // Bus master function enable
+#define PCI_CMD_MSE     0x02 // Memory Space Access enable
+#define PCI_CMD_IOSE    0x01 // I/O space enable
+
 // Type 0 PCI offsets
 #define PCI0_BASE_ADDR0                0x10    // Base Address 0               rw
 #define PCI0_BASE_ADDR1                0x14    // Base Address 1               rw