mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/riscv: Connect Shakti UART to Shakti platform
Connect one shakti uart to the shakti_c machine. Signed-off-by: Vijai Kumar K <vijai@behindbytes.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210401181457.73039-5-vijai@behindbytes.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
07f334d89d
commit
8a2aca3d79
2 changed files with 10 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "hw/riscv/riscv_hart.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/char/shakti_uart.h"
|
||||
|
||||
#define TYPE_RISCV_SHAKTI_SOC "riscv.shakti.cclass.soc"
|
||||
#define RISCV_SHAKTI_SOC(obj) \
|
||||
|
@ -33,6 +34,7 @@ typedef struct ShaktiCSoCState {
|
|||
/*< public >*/
|
||||
RISCVHartArrayState cpus;
|
||||
DeviceState *plic;
|
||||
ShaktiUartState uart;
|
||||
MemoryRegion rom;
|
||||
|
||||
} ShaktiCSoCState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue