qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class
@ 2024-12-06 19:11 Philippe Mathieu-Daudé
  2024-12-06 19:11 ` [PATCH 1/4] hw/timer/hpet: Introduce hpet_add_fw_cfg_bytes() Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-12-06 19:11 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Richard Henderson, Eduardo Habkost,
	Marcel Apfelbaum, Zhao Liu, Paolo Bonzini,
	Philippe Mathieu-Daudé

No need to have an external hpet_cfg[] array accessed
outside of hpet.c. Move it in the class state.

Philippe Mathieu-Daudé (4):
  hw/timer/hpet: Introduce hpet_add_fw_cfg_bytes()
  hw/timer/hpet: Reduce hpet_cfg[] scope
  hw/timer/hpet: Have hpet_find() return an Object
  hw/timer/hpet: Hold fw_cfg state within HPET class

 include/hw/timer/hpet.h | 20 +++-------------
 hw/i386/fw_cfg.c        |  5 ++--
 hw/timer/hpet.c         | 52 ++++++++++++++++++++++++++++++++++-------
 3 files changed, 49 insertions(+), 28 deletions(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-13 11:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-06 19:11 [PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class Philippe Mathieu-Daudé
2024-12-06 19:11 ` [PATCH 1/4] hw/timer/hpet: Introduce hpet_add_fw_cfg_bytes() Philippe Mathieu-Daudé
2024-12-06 19:11 ` [PATCH 2/4] hw/timer/hpet: Reduce hpet_cfg[] scope Philippe Mathieu-Daudé
2024-12-06 19:11 ` [PATCH 3/4] hw/timer/hpet: Have hpet_find() return an Object Philippe Mathieu-Daudé
2024-12-06 19:11 ` [PATCH 4/4] hw/timer/hpet: Hold fw_cfg state within HPET class Philippe Mathieu-Daudé
2024-12-13 11:40   ` Daniel P. Berrangé
2024-12-13 11:21 ` [PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to " Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).