Commit c1fba821 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU: log all unhandled MMIO events, even if they repeat

(this "feature" interferes with debugging; was present since the first commit, in 2013)

--HG--
branch : qemu
parent 313d5bd76bae
...@@ -1914,23 +1914,7 @@ unsigned int eos_handler ( EOSState *s, unsigned int address, unsigned char type ...@@ -1914,23 +1914,7 @@ unsigned int eos_handler ( EOSState *s, unsigned int address, unsigned char type
} }
else else
{ {
static uint32_t last_addr = 0; io_log("*unk*", s, address, type, value, 0, 0, 0, 0);
static uint32_t repeats = 0;
if(address != last_addr || repeats < 5)
{
if(address == last_addr)
{
repeats++;
}
else
{
last_addr = address;
repeats = 0;
}
io_log("*unk*", s, address, type, value, 0, 0, 0, 0);
}
} }
return 0; return 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment