On 17/03/2025 06.23, Nicholas Piggin wrote:
These definitions were taken from skiboot firmware. I naively thought it
would be nicer to keep the code similar by using the preprocessor, but
it was pointed out that system headers might still use those symbols and
cause something unexpected. Also just nicer to keep the QEMU tree clean.

Cc: Thomas Huth <[email protected]>
Cc: "Philippe Mathieu-Daudé" <[email protected]>
Cc: "Stefan Hajnoczi" <[email protected]>
Fixes: 70bc5c2498f46 ("ppc/pnv: Make HOMER memory a RAM region")
Signed-off-by: Nicholas Piggin <[email protected]>
---
  hw/ppc/pnv_occ.c | 201 ++++++++++++++++++++++-------------------------
  1 file changed, 96 insertions(+), 105 deletions(-)

Thanks for cleaning it up!

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to