dev-arm: Added unimplemented GICv2 GICC_DIR
This GICC CPU register is not implemented but just gives a warning. Change-Id: I7630aa1df78dde5cf84a87e26cd580b00b283673 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Anouk Van Laer <anouk.vanlaer@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/15275 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
committed by
Giacomo Travaglini
parent
8a9e0079e7
commit
b5e0a8f19a
@@ -622,6 +622,9 @@ GicV2::writeCpu(ContextID ctx, Addr daddr, uint32_t data)
|
||||
case GICC_APR3:
|
||||
warn("GIC APRn write ignored because not implemented: %#x\n", daddr);
|
||||
break;
|
||||
case GICC_DIR:
|
||||
warn("GIC DIR write ignored because not implemented: %#x\n", daddr);
|
||||
break;
|
||||
default:
|
||||
panic("Tried to write Gic cpu at offset %#x\n", daddr);
|
||||
break;
|
||||
|
||||
@@ -110,6 +110,7 @@ class GicV2 : public BaseGic, public BaseGicRegisters
|
||||
GICC_APR2 = 0xd8, // active priority register 2
|
||||
GICC_APR3 = 0xdc, // active priority register 3
|
||||
GICC_IIDR = 0xfc, // cpu interface id register
|
||||
GICC_DIR = 0x1000, // deactive interrupt register
|
||||
};
|
||||
|
||||
static const int SGI_MAX = 16; // Number of Software Gen Interrupts
|
||||
|
||||
Reference in New Issue
Block a user