mmio: interpret read-verbosity switch

fix #825
This commit is contained in:
Martin Stein 2013-08-27 17:12:09 +02:00 committed by Norman Feske
parent 0bbfa3a501
commit 8188e85691
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ namespace Genode
bool const w) const
{
if (!VERBOSITY_AVAILABLE) return;
if (!_write_verbose) return;
if ((w && !_write_verbose) || (!w && !_read_verbose)) return;
printf("mmio %s 0x%p: 0x", w ? "write" : "read ", (void *)dst);
Trait::Uint_type<_ACCESS_T>::print_hex(v);
printf("\n");