mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/vmapple/cfg: Introduce vmapple cfg region
Instead of device tree or other more standardized means, VMApple passes platform configuration to the first stage boot loader in a binary encoded format that resides at a dedicated RAM region in physical address space. This patch models this configuration space as a qdev device which we can then map at the fixed location in the address space. That way, we can influence and annotate all configuration fields easily. Signed-off-by: Alexander Graf <graf@amazon.com> Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-ID: <20241223221645.29911-12-phil@philjordan.eu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
0179bb3c48
commit
33b5446206
4 changed files with 201 additions and 0 deletions
|
@ -16,4 +16,6 @@
|
|||
|
||||
#define TYPE_VMAPPLE_BDIF "vmapple-bdif"
|
||||
|
||||
#define TYPE_VMAPPLE_CFG "vmapple-cfg"
|
||||
|
||||
#endif /* HW_VMAPPLE_VMAPPLE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue