qualcomm/qbox
Loading...
Searching...
No Matches
qemu::CpuHexagon Class Reference
Inheritance diagram for qemu::CpuHexagon:
Collaboration diagram for qemu::CpuHexagon:

Public Types

enum  Rev_t {
  unknown_rev = 0x0 , v66_rev = 0xa666 , v68_rev = 0x8d68 , v69_rev = 0x8c69 ,
  v73_rev = 0x8c73 , v79_rev = 0x8c79 , v81_rev = 0x8781 , v85_rev = 0x8085 ,
  v89_rev = 0xa289 , v91_rev = 0x8291
}
using MipUpdateCallbackFn = std::function<void(uint32_t)>
Public Types inherited from qemu::Cpu
using EndOfLoopCallbackFn = std::function<void()>
using CpuKickCallbackFn = std::function<void()>
using AsyncJobFn = std::function<void()>

Public Member Functions

 CpuHexagon (const CpuHexagon &)=default
 CpuHexagon (const Object &o)
void register_reset ()
Public Member Functions inherited from qemu::Cpu
 Cpu (const Cpu &)=default
 Cpu (const Object &o)
int get_index () const
void loop ()
bool loop_is_busy ()
bool can_run ()
void set_soft_stopped (bool stopped)
void halt (bool halted)
void reset (bool reset)
void set_unplug (bool unplug)
void remove_sync ()
void register_thread ()
Cpu set_as_current ()
void kick ()
void exit_loop_from_io ()
void async_run (AsyncJobFn job)
void async_safe_run (AsyncJobFn job)
void set_end_of_loop_callback (EndOfLoopCallbackFn cb)
void set_kick_callback (CpuKickCallbackFn cb)
bool is_in_exclusive_context () const
void set_vcpu_dirty (bool dirty) const
Public Member Functions inherited from qemu::Device
 Device (const Device &)=default
 Device (const Object &o)
void connect_gpio_out (int idx, Gpio gpio)
void connect_gpio_out_named (const char *name, int idx, Gpio gpio)
Gpio get_gpio_in (int idx)
Gpio get_gpio_in_named (const char *name, int idx)
Bus get_child_bus (const char *name)
void set_parent_bus (Bus bus)
void set_prop_chardev (const char *name, Chardev chr)
void set_prop_uint_array (const char *name, std::vector< unsigned int > vec)
void set_prop_string (const char *name, const char *value)
void set_prop_string (std::string_view name, std::string_view value)
Public Member Functions inherited from qemu::Object
 Object (QemuObject *obj, std::shared_ptr< LibQemuInternals > &internals)
 Object (const Object &o)
 Object (Object &&o)
Object & operator= (Object o)
bool valid () const
void set_prop_bool (const char *name, bool val)
void set_prop_int (const char *name, int64_t val)
void set_prop_uint (const char *name, uint64_t val)
void set_prop_str (const char *name, const char *val)
void set_prop_link (const char *name, const Object &link)
void set_prop_parse (const char *name, const char *value)
Object get_prop_link (const char *name)
QemuObject * get_qemu_obj () const
LibQemu & get_inst ()
uintptr_t get_inst_id () const
bool same_inst_as (const Object &o) const
template<class T>
bool check_cast () const
void clear_callbacks ()

Static Public Member Functions

static Rev_t parse_dsp_arch (const std::string arch_str)

Static Public Attributes

static constexpr const char *const TYPE = "v67-hexagon-cpu"
Static Public Attributes inherited from qemu::Cpu
static constexpr const char *const TYPE = "cpu"
Static Public Attributes inherited from qemu::Device
static constexpr const char *const TYPE = "device"

Additional Inherited Members

Protected Member Functions inherited from qemu::Object
bool check_cast_by_type (const char *type_name) const
Protected Attributes inherited from qemu::Object
QemuObject * m_obj = nullptr
std::shared_ptr< LibQemuInternals > m_int

The documentation for this class was generated from the following files:
  • qemu-components/common/include/libqemu-cxx/target/hexagon.h
  • qemu-components/common/src/libqemu-cxx/target/hexagon.cc