ppc/pnv: Implement ADU access to LPC space
authorNicholas Piggin <npiggin@gmail.com>
Wed, 17 Apr 2024 04:50:13 +0000 (14:50 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commit24bd283bccb334109f112839ab6867f0192045d6
treee9e8ef19cb8b1b392aeb1c8f89a1f6b86cd49398
parent53f18b3ef2c3e898e7dae21a1f33f9e2f3eed764
ppc/pnv: Implement ADU access to LPC space

One of the functions of the ADU is indirect memory access engines that
send and receive data via ADU registers.

This implements the ADU LPC memory access functionality sufficiently
for IBM proprietary firmware to access the UART and print characters
to the serial port as it does on real hardware.

This requires a linkage between adu and lpc, which allows adu to
perform memory access in the lpc space.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv.c
hw/ppc/pnv_adu.c
hw/ppc/pnv_lpc.c
include/hw/ppc/pnv_adu.h
include/hw/ppc/pnv_lpc.h