]> Git Repo - qemu.git/commit
nvram: Introduce helper functions for CHRP "system" and "free space" partitions
authorThomas Huth <[email protected]>
Tue, 18 Oct 2016 20:46:40 +0000 (22:46 +0200)
committerDavid Gibson <[email protected]>
Thu, 27 Oct 2016 22:36:58 +0000 (09:36 +1100)
commit55d9950aaa8e87372cfae2a7efc810f078f36818
tree380dd8412616b8579230f40a90c1cf32364fecac
parent4bcfa56ca9f6970974255dd5621b08e5aa9e5af5
nvram: Introduce helper functions for CHRP "system" and "free space" partitions

The "system partition" and "free space" partition layouts are
defined by the CHRP and LoPAPR specification, and used by
OpenBIOS and SLOF. We can re-use this code for other machines
that use OpenBIOS and SLOF, too. So let's make this code independent
from the MAC NVRAM environment and put it into two proper helper
functions.

Signed-off-by: Thomas Huth <[email protected]>
Tested-by: Mark Cave-Ayland <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/nvram/Makefile.objs
hw/nvram/chrp_nvram.c [new file with mode: 0644]
hw/nvram/mac_nvram.c
include/hw/nvram/chrp_nvram.h [new file with mode: 0644]
This page took 0.029965 seconds and 4 git commands to generate.