BURTON Mark
Builds for 1 pipeline passed in 4 minutes 34 seconds

Merge branch 'fixes' into 'master'

fix the access right with dmi

This fixes the access right for DMI.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>

See merge request !8
... ... @@ -219,9 +219,14 @@ public:
tlm::tlm_generic_payload& payload,
tlm::tlm_dmi& dmi_data)
{
dmi_data.allow_read();
dmi_data.set_dmi_ptr((unsigned char *)m_ptr);
dmi_data.set_start_address(offset);
dmi_data.set_end_address(offset + m_size * 1024 - 1);
if (!this->m_ro)
{
dmi_data.allow_write();
}
payload.set_dmi_allowed(true);
return true;
... ...