HomeFreeBSD

Use DEFINE_CLASS_0 in the arm generic timer

Description

Use DEFINE_CLASS_0 in the arm generic timer

Rather than defining the structure manually use the DEFINE_CLASS_0
macro. As we have both an ACPI and FDT attachment we need to use the
_0 variant of the macro as DEFINE_CLASS would create two structures
with the same name.

Sponsored by: The FreeBSD Foundation

Details

Provenance
andrewAuthored on Sep 20 2022, 4:07 PM
Parents
rGe13c6a6fca71: Teach the GICv3 driver about a vgic child
Branches
Unknown
Tags
Unknown