core: Added a new ELF tag with AVR->simavr command path
authorMichel Pollet <buserror@gmail.com>
Wed, 23 Dec 2009 22:17:46 +0000 (22:17 +0000)
committerMichel Pollet <buserror@gmail.com>
Wed, 23 Dec 2009 22:17:46 +0000 (22:17 +0000)
commitcb533ae28fd0e051e42bdeae43965ec6faf9ae1f
tree1a3312b4477ad4b7c07e27586bc92867c23f9cf9
parent5b4715f65f3f199bdff178dce139912ed64addb8
core: Added a new ELF tag with AVR->simavr command path

This new mode allow the AVR firmware to specify an (unused)
AVR IO register as a "command path" to send commands back to
simavr.
It allows for example the firmware to start/stop the VCD trace
dump, exactly where it should from the ooint of view of the
firmware being ran.

See atmega88_uart_echo.c for an example.

Signed-off-by: Michel Pollet <buserror@gmail.com>
include/avr_mcu_section.h
simavr/sim/sim_avr.c
simavr/sim/sim_avr.h
simavr/sim/sim_elf.c
simavr/sim/sim_elf.h
tests/atmega88_uart_echo.c