From: "Philippe Mathieu-Daudé" <f4bug@amsat.org> To: qemu-devel@nongnu.org Cc: "Marek Vasut" <marex@denx.de>, "Peter Maydell" <peter.maydell@linaro.org>, "Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>, qemu-riscv@nongnu.org, "Sagar Karandikar" <sagark@eecs.berkeley.edu>, "Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>, "Chris Wulff" <crwulff@gmail.com>, "Laurent Vivier" <laurent@vivier.eu>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, "Alex Bennée" <alex.bennee@linaro.org>, "Max Filippov" <jcmvbkbc@gmail.com>, "Michael Walle" <michael@walle.cc>, qemu-arm@nongnu.org, "Alistair Francis" <Alistair.Francis@wdc.com>, "Paolo Bonzini" <pbonzini@redhat.com>, "Guan Xuetao" <gxt@mprc.pku.edu.cn>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, "Palmer Dabbelt" <palmer@dabbelt.com>, "Aurelien Jarno" <aurelien@aurel32.net> Subject: [PATCH 2/2] semihosting: Move hw/semihosting/ -> semihosting/ Date: Fri, 26 Feb 2021 14:13:56 +0100 [thread overview] Message-ID: <20210226131356.3964782-3-f4bug@amsat.org> (raw) In-Reply-To: <20210226131356.3964782-1-f4bug@amsat.org> With the exception of hw/core/, the hw/ directory only contains device models used in system emulation. Semihosting is also used by user emulation. As a generic feature, move it out of hw/ directory. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- meson.build | 1 + {hw/semihosting => semihosting}/common-semi.h | 0 {hw/semihosting => semihosting}/arm-compat-semi.c | 0 {hw/semihosting => semihosting}/config.c | 0 {hw/semihosting => semihosting}/console.c | 0 Kconfig | 1 + MAINTAINERS | 2 +- hw/Kconfig | 1 - hw/meson.build | 1 - {hw/semihosting => semihosting}/Kconfig | 0 {hw/semihosting => semihosting}/meson.build | 0 11 files changed, 3 insertions(+), 3 deletions(-) rename {hw/semihosting => semihosting}/common-semi.h (100%) rename {hw/semihosting => semihosting}/arm-compat-semi.c (100%) rename {hw/semihosting => semihosting}/config.c (100%) rename {hw/semihosting => semihosting}/console.c (100%) rename {hw/semihosting => semihosting}/Kconfig (100%) rename {hw/semihosting => semihosting}/meson.build (100%) diff --git a/meson.build b/meson.build index 05a67c20d93..f2f9bb92520 100644 --- a/meson.build +++ b/meson.build @@ -1934,6 +1934,7 @@ subdir('monitor') subdir('net') subdir('replay') +subdir('semihosting') subdir('hw') subdir('accel') subdir('plugins') diff --git a/hw/semihosting/common-semi.h b/semihosting/common-semi.h similarity index 100% rename from hw/semihosting/common-semi.h rename to semihosting/common-semi.h diff --git a/hw/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c similarity index 100% rename from hw/semihosting/arm-compat-semi.c rename to semihosting/arm-compat-semi.c diff --git a/hw/semihosting/config.c b/semihosting/config.c similarity index 100% rename from hw/semihosting/config.c rename to semihosting/config.c diff --git a/hw/semihosting/console.c b/semihosting/console.c similarity index 100% rename from hw/semihosting/console.c rename to semihosting/console.c diff --git a/Kconfig b/Kconfig index bf694c42afe..d52ebd839b3 100644 --- a/Kconfig +++ b/Kconfig @@ -2,3 +2,4 @@ source Kconfig.host source backends/Kconfig source accel/Kconfig source hw/Kconfig +source semihosting/Kconfig diff --git a/MAINTAINERS b/MAINTAINERS index aacd4408125..9046b54cb2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3224,7 +3224,7 @@ F: qapi/rdma.json Semihosting M: Alex Bennée <alex.bennee@linaro.org> S: Maintained -F: hw/semihosting/ +F: semihosting/ F: include/semihosting/ Multi-process QEMU diff --git a/hw/Kconfig b/hw/Kconfig index 8ea26479c48..ff40bd3f7bb 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -31,7 +31,6 @@ source remote/Kconfig source rtc/Kconfig source scsi/Kconfig source sd/Kconfig -source semihosting/Kconfig source smbios/Kconfig source ssi/Kconfig source timer/Kconfig diff --git a/hw/meson.build b/hw/meson.build index e615d72d4df..8ba79b1a528 100644 --- a/hw/meson.build +++ b/hw/meson.build @@ -30,7 +30,6 @@ subdir('rtc') subdir('scsi') subdir('sd') -subdir('semihosting') subdir('smbios') subdir('ssi') subdir('timer') diff --git a/hw/semihosting/Kconfig b/semihosting/Kconfig similarity index 100% rename from hw/semihosting/Kconfig rename to semihosting/Kconfig diff --git a/hw/semihosting/meson.build b/semihosting/meson.build similarity index 100% rename from hw/semihosting/meson.build rename to semihosting/meson.build -- 2.26.2
WARNING: multiple messages have this Message-ID (diff)
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org> To: qemu-devel@nongnu.org Cc: "Alistair Francis" <Alistair.Francis@wdc.com>, "Sagar Karandikar" <sagark@eecs.berkeley.edu>, "Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>, "Paolo Bonzini" <pbonzini@redhat.com>, "Guan Xuetao" <gxt@mprc.pku.edu.cn>, "Jiaxun Yang" <jiaxun.yang@flygoat.com>, "Laurent Vivier" <laurent@vivier.eu>, "Chris Wulff" <crwulff@gmail.com>, qemu-arm@nongnu.org, "Philippe Mathieu-Daudé" <philmd@redhat.com>, "Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>, qemu-riscv@nongnu.org, "Max Filippov" <jcmvbkbc@gmail.com>, "Marek Vasut" <marex@denx.de>, "Palmer Dabbelt" <palmer@dabbelt.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Aurelien Jarno" <aurelien@aurel32.net>, "Peter Maydell" <peter.maydell@linaro.org>, "Michael Walle" <michael@walle.cc>, "Philippe Mathieu-Daudé" <f4bug@amsat.org> Subject: [PATCH 2/2] semihosting: Move hw/semihosting/ -> semihosting/ Date: Fri, 26 Feb 2021 14:13:56 +0100 [thread overview] Message-ID: <20210226131356.3964782-3-f4bug@amsat.org> (raw) In-Reply-To: <20210226131356.3964782-1-f4bug@amsat.org> With the exception of hw/core/, the hw/ directory only contains device models used in system emulation. Semihosting is also used by user emulation. As a generic feature, move it out of hw/ directory. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- meson.build | 1 + {hw/semihosting => semihosting}/common-semi.h | 0 {hw/semihosting => semihosting}/arm-compat-semi.c | 0 {hw/semihosting => semihosting}/config.c | 0 {hw/semihosting => semihosting}/console.c | 0 Kconfig | 1 + MAINTAINERS | 2 +- hw/Kconfig | 1 - hw/meson.build | 1 - {hw/semihosting => semihosting}/Kconfig | 0 {hw/semihosting => semihosting}/meson.build | 0 11 files changed, 3 insertions(+), 3 deletions(-) rename {hw/semihosting => semihosting}/common-semi.h (100%) rename {hw/semihosting => semihosting}/arm-compat-semi.c (100%) rename {hw/semihosting => semihosting}/config.c (100%) rename {hw/semihosting => semihosting}/console.c (100%) rename {hw/semihosting => semihosting}/Kconfig (100%) rename {hw/semihosting => semihosting}/meson.build (100%) diff --git a/meson.build b/meson.build index 05a67c20d93..f2f9bb92520 100644 --- a/meson.build +++ b/meson.build @@ -1934,6 +1934,7 @@ subdir('monitor') subdir('net') subdir('replay') +subdir('semihosting') subdir('hw') subdir('accel') subdir('plugins') diff --git a/hw/semihosting/common-semi.h b/semihosting/common-semi.h similarity index 100% rename from hw/semihosting/common-semi.h rename to semihosting/common-semi.h diff --git a/hw/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c similarity index 100% rename from hw/semihosting/arm-compat-semi.c rename to semihosting/arm-compat-semi.c diff --git a/hw/semihosting/config.c b/semihosting/config.c similarity index 100% rename from hw/semihosting/config.c rename to semihosting/config.c diff --git a/hw/semihosting/console.c b/semihosting/console.c similarity index 100% rename from hw/semihosting/console.c rename to semihosting/console.c diff --git a/Kconfig b/Kconfig index bf694c42afe..d52ebd839b3 100644 --- a/Kconfig +++ b/Kconfig @@ -2,3 +2,4 @@ source Kconfig.host source backends/Kconfig source accel/Kconfig source hw/Kconfig +source semihosting/Kconfig diff --git a/MAINTAINERS b/MAINTAINERS index aacd4408125..9046b54cb2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3224,7 +3224,7 @@ F: qapi/rdma.json Semihosting M: Alex Bennée <alex.bennee@linaro.org> S: Maintained -F: hw/semihosting/ +F: semihosting/ F: include/semihosting/ Multi-process QEMU diff --git a/hw/Kconfig b/hw/Kconfig index 8ea26479c48..ff40bd3f7bb 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -31,7 +31,6 @@ source remote/Kconfig source rtc/Kconfig source scsi/Kconfig source sd/Kconfig -source semihosting/Kconfig source smbios/Kconfig source ssi/Kconfig source timer/Kconfig diff --git a/hw/meson.build b/hw/meson.build index e615d72d4df..8ba79b1a528 100644 --- a/hw/meson.build +++ b/hw/meson.build @@ -30,7 +30,6 @@ subdir('rtc') subdir('scsi') subdir('sd') -subdir('semihosting') subdir('smbios') subdir('ssi') subdir('timer') diff --git a/hw/semihosting/Kconfig b/semihosting/Kconfig similarity index 100% rename from hw/semihosting/Kconfig rename to semihosting/Kconfig diff --git a/hw/semihosting/meson.build b/semihosting/meson.build similarity index 100% rename from hw/semihosting/meson.build rename to semihosting/meson.build -- 2.26.2
next prev parent reply other threads:[~2021-02-26 13:19 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-26 13:13 [PATCH 0/2] semihosting: Move it out of hw/ Philippe Mathieu-Daudé 2021-02-26 13:13 ` Philippe Mathieu-Daudé 2021-02-26 13:13 ` [PATCH 1/2] semihosting: Move include/hw/semihosting/ -> include/semihosting/ Philippe Mathieu-Daudé 2021-02-26 13:13 ` Philippe Mathieu-Daudé 2021-02-26 13:13 ` Philippe Mathieu-Daudé [this message] 2021-02-26 13:13 ` [PATCH 2/2] semihosting: Move hw/semihosting/ -> semihosting/ Philippe Mathieu-Daudé 2021-03-02 14:10 ` [PATCH 0/2] semihosting: Move it out of hw/ Philippe Mathieu-Daudé 2021-03-02 14:10 ` Philippe Mathieu-Daudé 2021-03-02 14:46 ` Claudio Fontana 2021-03-05 10:13 ` Alex Bennée 2021-03-05 10:13 ` Alex Bennée
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210226131356.3964782-3-f4bug@amsat.org \ --to=f4bug@amsat.org \ --cc=Alistair.Francis@wdc.com \ --cc=aleksandar.rikalo@syrmia.com \ --cc=alex.bennee@linaro.org \ --cc=aurelien@aurel32.net \ --cc=crwulff@gmail.com \ --cc=gxt@mprc.pku.edu.cn \ --cc=jcmvbkbc@gmail.com \ --cc=kbastian@mail.uni-paderborn.de \ --cc=laurent@vivier.eu \ --cc=marex@denx.de \ --cc=michael@walle.cc \ --cc=palmer@dabbelt.com \ --cc=pbonzini@redhat.com \ --cc=peter.maydell@linaro.org \ --cc=philmd@redhat.com \ --cc=qemu-arm@nongnu.org \ --cc=qemu-devel@nongnu.org \ --cc=qemu-riscv@nongnu.org \ --cc=sagark@eecs.berkeley.edu \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.