mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
lasi: move memory region initialisation to new lasi_init() function
Create a new lasi_init() instance initialisation function and move the LASI memory region initialisation into it. Rename the existing lasi_init() function to lasi_initfn() for now. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220504092600.10048-25-mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
63588da809
commit
46f2594cfc
3 changed files with 12 additions and 5 deletions
|
@ -175,7 +175,7 @@ static void machine_hppa_init(MachineState *machine)
|
|||
|
||||
|
||||
/* Init Lasi chip */
|
||||
lasi_init(addr_space);
|
||||
lasi_initfn(addr_space);
|
||||
|
||||
/* Init Dino (PCI host bus chip). */
|
||||
dino_dev = DEVICE(dino_init(addr_space));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue