cpu.c (1c8e621f097362d0a28c65fa2f31054b47a5282b) cpu.c (ac1e86710000ba3cf2e80836fb3f66ba12b169b8)
1/*
2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 305 unchanged lines hidden (view full) ---

314 cpu_exec_realizefn(cs, &local_err);
315 if (local_err != NULL) {
316 error_propagate(errp, local_err);
317 return;
318 }
319
320 gdb_register_coprocessor(cs, hexagon_hvx_gdb_read_register,
321 hexagon_hvx_gdb_write_register,
1/*
2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 305 unchanged lines hidden (view full) ---

314 cpu_exec_realizefn(cs, &local_err);
315 if (local_err != NULL) {
316 error_propagate(errp, local_err);
317 return;
318 }
319
320 gdb_register_coprocessor(cs, hexagon_hvx_gdb_read_register,
321 hexagon_hvx_gdb_write_register,
322 NUM_VREGS + NUM_QREGS,
323 "hexagon-hvx.xml", 0);
322 gdb_find_static_feature("hexagon-hvx.xml"), 0);
324
325 qemu_init_vcpu(cs);
326 cpu_reset(cs);
327
328 mcc->parent_realize(dev, errp);
329}
330
331static void hexagon_cpu_init(Object *obj)

--- 67 unchanged lines hidden ---
323
324 qemu_init_vcpu(cs);
325 cpu_reset(cs);
326
327 mcc->parent_realize(dev, errp);
328}
329
330static void hexagon_cpu_init(Object *obj)

--- 67 unchanged lines hidden ---