Commit 0fa2d31cec6d8d64fc5dd22bb6e6c8cab538562f
authorMichel Pollet <buserror@gmail.com>
Tue, 22 Feb 2011 12:50:51 +0000 (12:50 +0000)
committerMichel Pollet <buserror@gmail.com>
Tue, 22 Feb 2011 12:50:51 +0000 (12:50 +0000)
tree3e2b51d448b65fc0a984d7d01fedf17e0fb12bdd
parent335869fab028466961751b8e2a5a9ebd1ac50d46
Message:
core: Add a muxer for IO writes

It turns out that some core (tiny85 at the very least) are competing
for IO writes on some register.
This patch introduces a muxer callback that can call multiple clients
without impacting performance for the rest of the cores.

The system could be extended for IO read if it proves necessary.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2 files changed:
simavr/sim/sim_avr.h
simavr/sim/sim_io.c