mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
hw/hexagon: Add support for cfgbase
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com> Signed-off-by: Sid Manning <sidneym@quicinc.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
This commit is contained in:
@@ -162,6 +162,10 @@ static void hexagon_common_init(MachineState *machine, Rev_t rev,
|
||||
OBJECT(tlb_dev), &error_fatal);
|
||||
qdev_realize_and_unref(DEVICE(cpu), NULL, &error_fatal);
|
||||
}
|
||||
|
||||
rom_add_blob_fixed_as("config_table.rom", &m_cfg->cfgtable,
|
||||
sizeof(m_cfg->cfgtable), m_cfg->cfgbase,
|
||||
&address_space_memory);
|
||||
}
|
||||
|
||||
static void init_mc(MachineClass *mc)
|
||||
|
||||
@@ -400,7 +400,6 @@ void hexagon_cpu_soft_reset(CPUHexagonState *env)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static void hexagon_cpu_reset_hold(Object *obj, ResetType type)
|
||||
{
|
||||
CPUState *cs = CPU(obj);
|
||||
|
||||
Reference in New Issue
Block a user