[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 0/8] softmmu: Clean up arch_init.c
From: |
Peter Maydell |
Subject: |
Re: [PATCH for-6.2 0/8] softmmu: Clean up arch_init.c |
Date: |
Thu, 26 Aug 2021 15:33:35 +0100 |
On Fri, 30 Jul 2021 at 11:59, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> This patchset does some cleanups of arch_init.c. The bit I started
> out caring about was getting rid of the TARGET_* ifdef ladder (in
> patch 4 we make meson.build define QEMU_ARCH in config-target.h
> instead) -- this kind of ifdef ladder is nasty because it's always
> another place in the code that needs updating when we add or remove a
> target. I think this was one of the last remaining "every single
> arch touches this" ones. The rest of the patchset is stuff I noticed
> when I started looking at what else arch_init.c was doing.
>
> The graphic_width/height/depth target-specific defaults that
> arch_init.c does also look like they could use cleanup. My guess is
> that we should instead have a per-machine default graphics
> width/height/depth. But that's a separate thing and more work than I
> felt like doing this morning :-)
I'll take this via target-arm.next unless anybody objects.
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH for-6.2 0/8] softmmu: Clean up arch_init.c,
Peter Maydell <=