|
|
| qemu_cpu_hexagon (const sc_core::sc_module_name &name, sc_core::sc_object *o1, sc_core::sc_object *o2) |
|
| qemu_cpu_hexagon (const sc_core::sc_module_name &name, sc_core::sc_object *o1, sc_core::sc_object *o2, sc_core::sc_object *o3) |
|
| qemu_cpu_hexagon (const sc_core::sc_module_name &name, sc_core::sc_object *o1, sc_core::sc_object *o2, sc_core::sc_object *o3, sc_core::sc_object *o4) |
|
| qemu_cpu_hexagon (const sc_core::sc_module_name &name, QemuInstance &inst, hexagon_globalreg *hex_greg=nullptr, hexagon_l2vic *l2vic=nullptr, hexagon_tlb *tlb=nullptr) |
|
void | set_l2vic (hexagon_l2vic *l2vic) |
|
void | set_hex_tlb (hexagon_tlb *tlb) |
| void | before_end_of_elaboration () override |
|
qemu::CpuHexagon | get_cpu_hexagon () const |
| void | end_of_elaboration () override |
|
| QemuCpu (const sc_core::sc_module_name &name, QemuInstance &inst, const std::string &type_name, const char *cpu_type=nullptr) |
|
void | end_of_simulation () override |
| bool | can_run () override |
|
void | retrieve_qemu_cpu () |
| void | before_end_of_elaboration () override |
|
void | halt_cb (const bool &val) |
|
void | reset_cb (const bool &val) |
|
virtual void | start_of_simulation () override |
| virtual void | initiator_customize_tlm_payload (TlmPayload &payload) override |
| virtual void | initiator_tidy_tlm_payload (TlmPayload &payload) override |
| virtual sc_core::sc_time | initiator_get_local_time () override |
| virtual void | initiator_set_local_time (const sc_core::sc_time &t) override |
| virtual void | initiator_async_run (qemu::Cpu::AsyncJobFn job) override |
|
void | instantiate () |
|
void | realize () |
|
void | unrealize () |
| | QemuDevice (const sc_core::sc_module_name &name, QemuInstance &inst, const char *qom_type) |
| | Construct a QEMU device.
|
| | QemuDevice (const sc_core::sc_module_name &name, QemuInstance &inst, const char *qom_type, const char *id) |
| | Construct a QEMU device.
|
|
void | set_qom_type (std::string const &qom_type) |
|
const char * | get_qom_type () const |
|
const char * | get_id () const |
|
void | set_id (const std::string &nm) |
|
qemu::Device | get_qemu_dev () |
|
QemuInstance & | get_qemu_inst () |
|
void | set_sysbus_as_parent_bus (void) |
|
| SCP_LOGGER () |
|
|
sc_core::sc_vector< QemuTargetSignalSocket > | irq_in |
|
cci::cci_param< uint64_t > | p_cfgbase |
|
cci::cci_param< bool > | p_vp_mode |
|
cci::cci_param< bool > | p_semihosting |
|
cci::cci_param< bool > | p_start_powered_off |
|
cci::cci_param< bool > | p_sched_limit |
|
cci::cci_param< bool > | p_paranoid |
|
cci::cci_param< std::string > | p_dsp_arch |
|
cci::cci_param< uint32_t > | p_subsystem_id |
|
cci::cci_param< uint32_t > | p_hexagon_num_threads |
|
cci::cci_param< bool > | p_isdben_trusted |
|
cci::cci_param< bool > | p_isdben_secure |
|
cci::cci_param< std::string > | p_cmdline |
|
cci::cci_param< uint64_t > | p_vtcm_base_addr |
|
cci::cci_param< uint32_t > | p_vtcm_size_kb |
|
cci::cci_param< bool > | p_coproc2_present |
|
cci::cci_param< uint32_t > | p_hvx_contexts |
|
cci::cci_param< unsigned int > | p_gdb_port |
|
QemuInitiatorSocket | socket |
|
TargetSignalSocket< bool > | halt |
|
TargetSignalSocket< bool > | reset |
|
|
using | TlmPayload = tlm::tlm_generic_payload |
| enum | { none
, start_reset
, hold_reset
, finish_reset
} |
|
qemu::Cpu::AsyncJobFn | make_tracked_async_job (qemu::Cpu::AsyncJobFn job) |
|
void | create_quantum_keeper () |
|
void | set_coroutine_mode () |
|
void | set_signaled () |
|
void | watch_external_ev () |
|
void | kick_cb () |
|
void | deadline_timer_cb () |
|
void | wait_for_work () |
|
void | rearm_deadline_timer () |
|
void | prepare_run_cpu () |
|
void | run_cpu_loop () |
|
void | sync_with_kernel () |
|
void | end_of_loop_cb () |
|
void | mainloop_thread_coroutine () |
|
gs::runonsysc | m_on_sysc |
|
std::shared_ptr< qemu::Timer > | m_deadline_timer |
|
bool | m_coroutines |
|
qemu::Cpu | m_cpu |
|
std::string | m_cpu_type |
|
gs::async_event | m_qemu_kick_ev |
|
sc_core::sc_event_or_list | m_external_ev |
|
sc_core::sc_process_handle | m_sc_thread |
|
std::atomic< bool > | m_signaled |
|
std::mutex | m_signaled_lock |
|
std::condition_variable | m_signaled_cond |
|
std::shared_ptr< gs::tlm_quantumkeeper_extended > | m_qk |
|
std::atomic< bool > | m_finished = false |
|
std::atomic< bool > | m_started = false |
|
enum QemuCpu:: { ... } | m_resetting = none |
|
gs::async_event | m_start_reset_done_ev |
|
std::mutex | m_can_delete |
|
QemuCpuHintTlmExtension | m_cpu_hint_ext |
|
cci::cci_param< uint64_t > | m_insn_per_second |
|
uint64_t | m_quantum_ns |
|
std::unique_ptr< CpuTimeSyncStrategy > | m_time_sync |
|
std::atomic< int > | m_async_work_outstanding { 0 } |
|
std::mutex | m_async_work_mutex |
|
std::condition_variable | m_async_work_cv |
|
QemuInstance & | m_inst |
|
qemu::Device | m_dev |
|
bool | m_instanciated = false |
|
bool | m_realized = false |
|
static constexpr int | ASYNC_WORK_TIMEOUT_MS = 500 |