qualcomm/qbox
Loading...
Searching...
No Matches
ufs::Device Class Reference
Inheritance diagram for ufs::Device:
Collaboration diagram for ufs::Device:

Public Member Functions

 Device (const sc_core::sc_module_name &name, QemuInstance &inst, const char *qom_type)
void end_of_elaboration () override
 We cannot do the end_of_elaboration at this point because we need the UFS bus (created only during the UFS host realize step).
Public Member Functions inherited from QemuDevice
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.
virtual void before_end_of_elaboration () override
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)
Public Member Functions inherited from QemuDeviceBaseIF
virtual bool can_run ()
 SCP_LOGGER ()

Public Attributes

std::function< void()> set_dev_props

Protected Member Functions

virtual void ufs_realize (qemu::Bus &ufs_bus)

Additional Inherited Members

Protected Attributes inherited from QemuDevice
QemuInstance & m_inst
qemu::Device m_dev
bool m_instanciated = false
bool m_realized = false

Member Function Documentation

◆ end_of_elaboration()

void ufs::Device::end_of_elaboration ( )
inlineoverridevirtual

We cannot do the end_of_elaboration at this point because we need the UFS bus (created only during the UFS host realize step).

Reimplemented from QemuDevice.


The documentation for this class was generated from the following file:
  • qemu-components/ufs/include/ufs.h