The current implementation initializes the stack pointer of AVR devices
to 0. Although older AVR devices used to be like that, newer ones set
it to RAMEND.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1525
Signed-off-by: Gihun Nam
---
Edit code to use QOM property and add more
The current implementation initializes the stack pointer of AVR devices
to 0, but it should be set to RAMEND according to the specs.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1525
Signed-off-by: Gihun Nam
---
hw/avr/atmega.c | 3 +++
target/avr/cpu.c | 2 +-
target/avr/cpu.h | 3