mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
arm: Handle GIC_IVAR_VGIC in the gic driver
We don't have a GICv2 vgic so can just return 0. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D53662
This commit is contained in:
1 parent
4713f54013
commit
262fadda37
1 file changed
+3
@@ -514,6 +514,9 @@ arm_gic_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
|
||||
("arm_gic_read_ivar: Invalid bus type %u", sc->gic_bus));
|
||||
*result = sc->gic_bus;
|
||||
return (0);
|
||||
case GIC_IVAR_VGIC:
|
||||
*result = 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
return (ENOENT);
|
||||
|
||||
Reference in new issue
Block a user