mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
print gpu addr in hex format
This commit is contained in:
@@ -81,14 +81,14 @@ int Session_component::start_task(unsigned long kconf)
|
||||
{
|
||||
Genode::log("\t\tvaddr: ", (void*)kc->buffConfigs[i].buffer);
|
||||
Genode::log("\t\tval: ", *((uint32_t*)(kc->buffConfigs[i].buffer)));
|
||||
Genode::log("\t\tgpuaddr: ", (uint32_t)kc->buffConfigs[i].ga); // to print this, temporary make the var public
|
||||
Genode::log("\t\tgpuaddr: ", (void*)((addr_t)kc->buffConfigs[i].ga)); // to print this, temporary make the var public
|
||||
Genode::log("\t\tpos: ", (uint32_t)kc->buffConfigs[i].pos); // to print this, temporary make the var public
|
||||
}
|
||||
else
|
||||
{
|
||||
Genode::log("\t\tvaddr: ", (void*)((Genode::addr_t)kc->buffConfigs[i].buffer - base + mapped_base));
|
||||
Genode::log("\t\tpaddr: ", (void*)kc->buffConfigs[i].buffer);
|
||||
Genode::log("\t\tgpuaddr: ", (uint32_t)kc->buffConfigs[i].ga); // to print this, temporary make the var public
|
||||
Genode::log("\t\tgpuaddr: ", (void*)((addr_t)kc->buffConfigs[i].ga)); // to print this, temporary make the var public
|
||||
Genode::log("\t\tpos: ", (uint32_t)kc->buffConfigs[i].pos); // to print this, temporary make the var public
|
||||
}
|
||||
Genode::log("\t\tsize: ", (int)kc->buffConfigs[i].buffer_size);
|
||||
|
||||
Reference in New Issue
Block a user