@samitouri / QOSamiQemu / commits / 9c72d85633

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>

Sid Manning committed Jun 22, 2026 at 15:29 UTC 9c72d85633ac493572ab822e98e9725f0ea54520
2 files changed +4 -1
hw/hexagon/hexagon_dsp.c
+4
@@ -162,6 +162,10 @@ static void hexagon_common_init(MachineState *machine, Rev_t rev,
162 OBJECT(tlb_dev), &error_fatal);
163 qdev_realize_and_unref(DEVICE(cpu), NULL, &error_fatal);
164 }
165 +
166 + rom_add_blob_fixed_as("config_table.rom", &m_cfg->cfgtable,
167 + sizeof(m_cfg->cfgtable), m_cfg->cfgbase,
168 + &address_space_memory);
169 }
170
171 static void init_mc(MachineClass *mc)
target/hexagon/cpu.c
-1
@@ -400,7 +400,6 @@ void hexagon_cpu_soft_reset(CPUHexagonState *env)
400 }
401 #endif
402
403 -
403 static void hexagon_cpu_reset_hold(Object *obj, ResetType type)
404 {
405 CPUState *cs = CPU(obj);