Re: [PATCH 1/7] MIPS: Implement setjmp

2024-05-17 Thread Jiaxun Yang
在2024年5月17日五月 下午10:11,Heinrich Schuchardt写道: [...] > As the jumpbuffer is only used inside U-Boot we should be able to use > the same register sequence independant of the bitness. Hi Heinrich, I chose to use ABI's stack frame because GDB requires it to perform proper unwinding and it helped d

Re: [PATCH 1/7] MIPS: Implement setjmp

2024-05-17 Thread Heinrich Schuchardt
Am 17. Mai 2024 18:32:52 MESZ schrieb Jiaxun Yang : >Implement setjmp with o32/n64 ABI's standard stack frame. >Note that those two ABIs slightly disagreed on placement of >registers so they are being implemented in two different >files. > >Signed-off-by: Jiaxun Yang >--- > arch/mips/include/as

[PATCH 1/7] MIPS: Implement setjmp

2024-05-17 Thread Jiaxun Yang
Implement setjmp with o32/n64 ABI's standard stack frame. Note that those two ABIs slightly disagreed on placement of registers so they are being implemented in two different files. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/setjmp.h | 36 +++ arch/mips/lib/Make