diff options
| author | Philippe Mathieu-Daudé | 2022-02-03 16:58:33 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé | 2022-03-06 13:15:42 +0100 |
| commit | c80cafa0c73cafa2d24236913a16eb68d505ab06 (patch) | |
| tree | ef83742953455021060d5fc4b6897d3a064a5402 /include | |
| parent | exec/cpu: Make address_space_init/reloading_memory_map target agnostic (diff) | |
| download | qemu-c80cafa0c73cafa2d24236913a16eb68d505ab06.tar.gz qemu-c80cafa0c73cafa2d24236913a16eb68d505ab06.tar.xz qemu-c80cafa0c73cafa2d24236913a16eb68d505ab06.zip | |
softmmu: Add qemu_init_arch_modules()
module_allow_arch() is the single target-specific call in the
whole vl.c file. Move the module initialization out to arch_init.c,
that way we'll be able to build vl.o once for all targets (the
next commit).
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220207075426.81934-21-f4bug@amsat.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sysemu/arch_init.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h index 70c579560a..79c2591425 100644 --- a/include/sysemu/arch_init.h +++ b/include/sysemu/arch_init.h @@ -28,4 +28,6 @@ enum { extern const uint32_t arch_type; +void qemu_init_arch_modules(void); + #endif |
