mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
riscv: sifive_e: Manually define the machine
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
f33559a427
commit
0869490b1c
2 changed files with 34 additions and 11 deletions
|
@ -47,6 +47,10 @@ typedef struct SiFiveEState {
|
|||
SiFiveESoCState soc;
|
||||
} SiFiveEState;
|
||||
|
||||
#define TYPE_RISCV_E_MACHINE MACHINE_TYPE_NAME("sifive_e")
|
||||
#define RISCV_E_MACHINE(obj) \
|
||||
OBJECT_CHECK(SiFiveEState, (obj), TYPE_RISCV_E_MACHINE)
|
||||
|
||||
enum {
|
||||
SIFIVE_E_DEBUG,
|
||||
SIFIVE_E_MROM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue