[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 5/6] hw/core: Restrict reset handlers API to system-mode
From: |
Thomas Huth |
Subject: |
Re: [PATCH v2 5/6] hw/core: Restrict reset handlers API to system-mode |
Date: |
Mon, 20 Jan 2020 06:27:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 18/01/2020 15.06, Philippe Mathieu-Daudé wrote:
> The user-mode code does not use this API, restrict it
> to the system-mode.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/core/Makefile.objs | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
> index 0edd9e635d..2fea68ccf7 100644
> --- a/hw/core/Makefile.objs
> +++ b/hw/core/Makefile.objs
> @@ -1,6 +1,7 @@
> # core qdev-related obj files, also used by *-user:
> common-obj-y += qdev.o qdev-properties.o
> -common-obj-y += bus.o reset.o
> +common-obj-y += bus.o
> +common-obj-$(CONFIG_SOFTMMU) += reset.o
> common-obj-$(CONFIG_SOFTMMU) += qdev-fw.o
> common-obj-$(CONFIG_SOFTMMU) += fw-path-provider.o
> # irq.o needed for qdev GPIO handling:
>
Reviewed-by: Thomas Huth <address@hidden>
- [PATCH v2 0/6] buildsys: Build faster (mostly tools and linux-user), Philippe Mathieu-Daudé, 2020/01/18
- [PATCH v2 1/6] configure: Do not build libfdt if not required, Philippe Mathieu-Daudé, 2020/01/18
- [PATCH v2 2/6] Makefile: Clarify all the codebase requires qom/ objects, Philippe Mathieu-Daudé, 2020/01/18
- [PATCH v2 3/6] Makefile: Restrict system emulation and tools objects, Philippe Mathieu-Daudé, 2020/01/18
- [PATCH v2 4/6] Makefile: Remove unhelpful comment, Philippe Mathieu-Daudé, 2020/01/18
- [PATCH v2 5/6] hw/core: Restrict reset handlers API to system-mode, Philippe Mathieu-Daudé, 2020/01/18
- [PATCH v2 6/6] hw/core/Makefile: Group generic objects versus system-mode objects, Philippe Mathieu-Daudé, 2020/01/18
- Re: [PATCH v2 0/6] buildsys: Build faster (mostly tools and linux-user), Philippe Mathieu-Daudé, 2020/01/18