Skip to content

hw/timer/hpet: Make fw_cfg state private to HPET class

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/timer/hpet: Introduce hpet_add_fw_cfg_bytes()hw/i386/fw_cfg.c hw/timer/hpet.c include/hw/timer/hpet.h+14 -30 replies
2/4hw/timer/hpet: Reduce hpet_cfg[] scopehw/timer/hpet.c include/hw/timer/hpet.h+15 -170 replies
3/4hw/timer/hpet: Have hpet_find() return an Objectinclude/hw/timer/hpet.h+1 -10 replies
4/4hw/timer/hpet: Hold fw_cfg state within HPET classhw/timer/hpet.c+22 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class

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(-)
Signature · 1 line
2.45.2