Re: [PATCH] avr: Fix wrong initial value of stack pointer

2023-11-27 Thread Peter Maydell
On Mon, 27 Nov 2023 at 03:52, Gihun Nam wrote: > > 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 Hi; thanks for

[PATCH] avr: Fix wrong initial value of stack pointer

2023-11-26 Thread Gihun Nam
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