]> Git Repo - qemu.git/commit
target/avr: Add instruction helpers
authorMichael Rolnik <[email protected]>
Fri, 24 Jan 2020 00:51:08 +0000 (01:51 +0100)
committerPhilippe Mathieu-Daudé <[email protected]>
Sat, 11 Jul 2020 09:02:05 +0000 (11:02 +0200)
commit84a71e9a447b50ddfc818aed4d626574423d7945
tree807669823cb1560e41eb256ad595d91f0bf97782
parent669d27e2f57a5c016caebf859196ec77c420a330
target/avr: Add instruction helpers

Add helpers for instructions that need to interact with QEMU. Also,
add stubs for unimplemented instructions. Instructions SPM and WDR
are left unimplemented because they require emulation of complex
peripherals. The implementation of instruction SLEEP is very limited
due to the lack of peripherals to generate wake interrupts. Memory
access instructions are implemented here because some address ranges
actually refer to CPU registers.

Signed-off-by: Michael Rolnik <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Aleksandar Markovic <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Aleksandar Markovic <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Message-Id: <20200705140315[email protected]>
[PMD: Replace cpu_physical_memory() API by address_space_ldst()
      API to fix running on big-endian host,
      reported and suggested by Peter Maydell]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
target/avr/helper.c
target/avr/helper.h [new file with mode: 0644]
This page took 0.024638 seconds and 4 git commands to generate.