[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/11] exec: Restrict various system emulation specific heade
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 00/11] exec: Restrict various system emulation specific headers (to sysemu) |
Date: |
Tue, 25 May 2021 16:13:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
Ping for review? :)
On 5/17/21 1:11 PM, Philippe Mathieu-Daudé wrote:
> Hi,
>
> This series restricts various system emulation specific headers
> by moving them under sysemu/ and adding #error if included from
> user emulation.
> We could avoid the sysemu/ rename if too much churn, but enforcing
> error of headers that must not be included in user emulation allows
> further cleanups (to be sent later).
>
> I had to split the ioport.c file to cpu-io (generic to any target
> having access to I/O bus, but I haven't checked the TCG implementation
> details for user emulation) VS ioport (system specific, access to
> hardware).
>
> Many files are changed, but this is mostly one-line mechanical
> updates of old path to new path using sed.
>
> Regards,
>
> Phil.
>
> Philippe Mathieu-Daudé (11):
> NOTFORMERGE target/arm: Restrict KVM files to softmmu
> exec: Restrict hwaddr.h to sysemu/
> exec: Restrict cputlb.h to sysemu/
> exec: Restrict memory.h to sysemu/
> exec: Restrict memory-internal.h to sysemu/
> exec: Restrict address-spaces.h to sysemu/
> exec: Extract CPU I/O instructions to "cpu-io.h"
> exec: Restrict ioport.h to sysemu/
> exec: Restrict ram_addr.h to sysemu/
> exec: Restrict ramblock.h to sysemu/
> exec: Restrict confidential-guest-support.h to sysemu/
> 275 files changed, 491 insertions(+), 409 deletions(-)
> create mode 100644 include/exec/cpu-io.h
> rename include/exec/{ => sysemu}/address-spaces.h (80%)
> rename include/exec/{ => sysemu}/cputlb.h (86%)
> rename include/exec/{ => sysemu}/hwaddr.h (81%)
> rename include/exec/{ => sysemu}/memory-internal.h (94%)
> rename include/exec/{ => sysemu}/memory.h (99%)
> rename include/{exec => sysemu}/confidential-guest-support.h (95%)
> rename include/{exec => sysemu}/ioport.h (86%)
> rename include/{exec => sysemu}/ram_addr.h (99%)
> rename include/{exec => sysemu}/ramblock.h (92%)
> create mode 100644 softmmu/cpu-io.c
>
- [PATCH 02/11] exec: Restrict hwaddr.h to sysemu/, (continued)
- [PATCH 02/11] exec: Restrict hwaddr.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 03/11] exec: Restrict cputlb.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 04/11] exec: Restrict memory.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 05/11] exec: Restrict memory-internal.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 07/11] exec: Extract CPU I/O instructions to "cpu-io.h", Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 06/11] exec: Restrict address-spaces.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 08/11] exec: Restrict ioport.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 09/11] exec: Restrict ram_addr.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 10/11] exec: Restrict ramblock.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- [PATCH 11/11] exec: Restrict confidential-guest-support.h to sysemu/, Philippe Mathieu-Daudé, 2021/05/17
- Re: [PATCH 00/11] exec: Restrict various system emulation specific headers (to sysemu),
Philippe Mathieu-Daudé <=