[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class |
Date: |
Fri, 6 Dec 2024 20:11:20 +0100 |
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
- [PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class,
Philippe Mathieu-Daudé <=
- [PATCH 1/4] hw/timer/hpet: Introduce hpet_add_fw_cfg_bytes(), Philippe Mathieu-Daudé, 2024/12/06
- [PATCH 2/4] hw/timer/hpet: Reduce hpet_cfg[] scope, Philippe Mathieu-Daudé, 2024/12/06
- [PATCH 3/4] hw/timer/hpet: Have hpet_find() return an Object, Philippe Mathieu-Daudé, 2024/12/06
- [PATCH 4/4] hw/timer/hpet: Hold fw_cfg state within HPET class, Philippe Mathieu-Daudé, 2024/12/06
- Re: [PATCH 0/4] hw/timer/hpet: Make fw_cfg state private to HPET class, Philippe Mathieu-Daudé, 2024/12/13