[PATCH 0/8] system: Absorb globals-target.c within common globals.c

Philippe Mathieu-Daudé posted 8 patches 1 month, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
include/hw/display/macfb.h |  2 +-
include/hw/ppc/ppc.h       |  2 ++
hw/display/macfb.c         | 18 +++++++++++-------
hw/m68k/q800.c             | 17 ++++++-----------
hw/ppc/mac_newworld.c      | 10 ++++++----
hw/ppc/mac_oldworld.c      | 10 ++++++----
hw/ppc/ppc.c               |  8 ++++++++
hw/ppc/prep.c              |  4 ++++
hw/ppc/spapr.c             |  4 ++++
hw/sparc/sun4m.c           |  9 +++++++++
hw/sparc64/sun4u.c         | 10 ++++++++++
system/globals-target.c    | 24 ------------------------
system/globals.c           |  3 +++
system/meson.build         |  4 ----
14 files changed, 70 insertions(+), 55 deletions(-)
delete mode 100644 system/globals-target.c
[PATCH 0/8] system: Absorb globals-target.c within common globals.c
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
Slightly rework how the graphic dimension variables for
the M68k / PPC / SPARC targets are initialized, removing
the need for the target-specific globals-target.c file.

Philippe Mathieu-Daudé (8):
  hw/display/macfb: Constify macfb_sense_table[] array
  hw/display/macfb: Constify macfb_mode_table[] array
  hw/m68k/q800: Use MacFbMode fields in q800_machine_init()
  hw/m68k/q800: Set MACFB_DISPLAY_APPLE_21_COLOR within MacFrameBuffer
  hw/m68k: Set graphic display dimensions generically
  hw/sparc: Set graphic display dimensions generically
  hw/ppc: Set graphic display dimensions generically
  system/globals: Build as common code

 include/hw/display/macfb.h |  2 +-
 include/hw/ppc/ppc.h       |  2 ++
 hw/display/macfb.c         | 18 +++++++++++-------
 hw/m68k/q800.c             | 17 ++++++-----------
 hw/ppc/mac_newworld.c      | 10 ++++++----
 hw/ppc/mac_oldworld.c      | 10 ++++++----
 hw/ppc/ppc.c               |  8 ++++++++
 hw/ppc/prep.c              |  4 ++++
 hw/ppc/spapr.c             |  4 ++++
 hw/sparc/sun4m.c           |  9 +++++++++
 hw/sparc64/sun4u.c         | 10 ++++++++++
 system/globals-target.c    | 24 ------------------------
 system/globals.c           |  3 +++
 system/meson.build         |  4 ----
 14 files changed, 70 insertions(+), 55 deletions(-)
 delete mode 100644 system/globals-target.c

-- 
2.52.0


Re: [PATCH 0/8] system: Absorb globals-target.c within common globals.c
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
I was expecting Paolo to be picked in the Cc list but apparently
he isn't maintaining any of these files; Cc'ing explicitly because
of his comments in
https://lore.kernel.org/qemu-devel/e514d6db-781d-4afe-b057-9046c70044dc@redhat.com/

On 14/2/26 03:12, Philippe Mathieu-Daudé wrote:
> Slightly rework how the graphic dimension variables for
> the M68k / PPC / SPARC targets are initialized, removing
> the need for the target-specific globals-target.c file.
> 
> Philippe Mathieu-Daudé (8):
>    hw/display/macfb: Constify macfb_sense_table[] array
>    hw/display/macfb: Constify macfb_mode_table[] array
>    hw/m68k/q800: Use MacFbMode fields in q800_machine_init()
>    hw/m68k/q800: Set MACFB_DISPLAY_APPLE_21_COLOR within MacFrameBuffer
>    hw/m68k: Set graphic display dimensions generically
>    hw/sparc: Set graphic display dimensions generically
>    hw/ppc: Set graphic display dimensions generically
>    system/globals: Build as common code
> 
>   include/hw/display/macfb.h |  2 +-
>   include/hw/ppc/ppc.h       |  2 ++
>   hw/display/macfb.c         | 18 +++++++++++-------
>   hw/m68k/q800.c             | 17 ++++++-----------
>   hw/ppc/mac_newworld.c      | 10 ++++++----
>   hw/ppc/mac_oldworld.c      | 10 ++++++----
>   hw/ppc/ppc.c               |  8 ++++++++
>   hw/ppc/prep.c              |  4 ++++
>   hw/ppc/spapr.c             |  4 ++++
>   hw/sparc/sun4m.c           |  9 +++++++++
>   hw/sparc64/sun4u.c         | 10 ++++++++++
>   system/globals-target.c    | 24 ------------------------
>   system/globals.c           |  3 +++
>   system/meson.build         |  4 ----
>   14 files changed, 70 insertions(+), 55 deletions(-)
>   delete mode 100644 system/globals-target.c
>