Download raw body.
sparc64/ofwboot: initialize BSS before entering
On Tue, 18 Aug 2026 02:15:50 +0200, "Theo de Raadt" <deraadt@openbsd.org> wrote: > > This must have been very painful to debug. > Yes, absolutley. But it was inside qemu and here: (qemu) info registers CPU#0 pc: 000001fff000d8fc npc: 000001fff000d900 %g0-3: 0000000000000000 0000000000000034 000001ff00000000 000001fff00808b8 %g4-7: 00000000000808b8 0000000000000000 0000000000000000 0000000000000000 %o0-3: 000001fe020003f8 000001fff00808f6 00000000001009f4 0000000000000000 %o4-7: 00000000ffeb6400 0000000000000000 00000000ffe90f51 000001fff000d8f4 %l0-3: 0000000000000006 00000000ffe91561 ffffffffffe33b31 00000000ffeb6400 %l4-7: 0000000000000000 00000000ffd00000 0000000000000000 00000000ffd0d904 %i0-3: 00000000000005c0 00000000000005e0 ffffffffffffffff 695a774b161c121a %i4-7: 00000000ffd0d904 0000000000000000 00000000ffe91001 0000000000103088 %f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f32: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f48: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f56: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 pstate: 00000015 ccr: 44 (icc: -Z-- xcc: -Z--) asi: 1d tl: 1 pil: 0 gl: 2 tbr: 00000000ffd00000 hpstate: 0000000000000000 htba: 0000000000000000 cansave: 7 canrestore: 0 otherwin: 0 wstate: 0 cleanwin: 7 cwp: 2 fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000000 (qemu) which makes it possible to debug. -- wbr, Kirill
sparc64/ofwboot: initialize BSS before entering