diff options
Diffstat (limited to 'src/dev/arm/gic_v3_distributor.cc')
-rw-r--r-- | src/dev/arm/gic_v3_distributor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/arm/gic_v3_distributor.cc b/src/dev/arm/gic_v3_distributor.cc index 00f29a74c..5eee07d87 100644 --- a/src/dev/arm/gic_v3_distributor.cc +++ b/src/dev/arm/gic_v3_distributor.cc @@ -451,7 +451,7 @@ Gicv3Distributor::read(Addr addr, size_t size, bool is_secure_access) * DVIS [18] == 0 * (The implementation does not support Direct Virtual LPI * injection) - * LPIS [17] == 0 + * LPIS [17] == 1 * (The implementation does not support LPIs) * MBIS [16] == 0 * (The implementation does not support message-based interrupts @@ -467,7 +467,7 @@ Gicv3Distributor::read(Addr addr, size_t size, bool is_secure_access) int max_spi_int_id = itLines - 1; int it_lines_number = ceil((max_spi_int_id + 1) / 32.0) - 1; return (1 << 26) | (1 << 25) | (1 << 24) | (0xf << 19) | - (gic->getSystem()->haveSecurity() << 10) | + (1 << 17) | (gic->getSystem()->haveSecurity() << 10) | (it_lines_number << 0); } |