Since v2:
- Restrict to ARM SMMUv3
- Address Shameer review comments
By inlinining the stubs we can avoid the use of target-specific
CONFIG_DEVICES include in a hw/ header, allowing to build the
source files including it as common objects.
Philippe Mathieu-Daudé (2):
hw/arm/smmuv3: Have smmuv3_accel_init() take an Error* parameter
hw/arm/smmuv3: Avoid including CONFIG_DEVICES in hw/ header
hw/arm/smmuv3-accel.h | 41 +----------------------------
hw/arm/smmuv3-accel-stubs.c | 52 +++++++++++++++++++++++++++++++++++++
hw/arm/smmuv3-accel.c | 3 ++-
hw/arm/smmuv3.c | 11 +++-----
hw/arm/meson.build | 5 ++--
5 files changed, 61 insertions(+), 51 deletions(-)
create mode 100644 hw/arm/smmuv3-accel-stubs.c
--
2.53.0