summaryrefslogtreecommitdiff
path: root/src/dev/arm/gic_v3_its.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/gic_v3_its.hh')
-rw-r--r--src/dev/arm/gic_v3_its.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dev/arm/gic_v3_its.hh b/src/dev/arm/gic_v3_its.hh
index 1ca98a824..40d95c8b8 100644
--- a/src/dev/arm/gic_v3_its.hh
+++ b/src/dev/arm/gic_v3_its.hh
@@ -114,6 +114,18 @@ class Gicv3Its : public BasicPioDevice
static const uint32_t NUM_BASER_REGS = 8;
+ // We currently don't support two level ITS tables
+ // The indirect bit is RAZ/WI for implementations that only
+ // support flat tables.
+ static const uint64_t BASER_INDIRECT = 0x4000000000000000;
+ static const uint64_t BASER_TYPE = 0x0700000000000000;
+ static const uint64_t BASER_ESZ = 0x001F000000000000;
+ static const uint64_t BASER_SZ = 0x00000000000000FF;
+ static const uint64_t BASER_WMASK =
+ ~(BASER_INDIRECT | BASER_TYPE | BASER_ESZ);
+ static const uint64_t BASER_WMASK_UNIMPL =
+ ~(BASER_INDIRECT | BASER_TYPE | BASER_ESZ | BASER_SZ);
+
// GITS_CTLR.quiescent mask
static const uint32_t CTLR_QUIESCENT;