#include #include #include #define MINFRAME64 0xb0 #define V9BIAS64 0xb0 .global __setup .extern sal_main .section ".boot", "ax" __setup: wrpr %g0, 7, %cleanwin wrpr %g0, 0, %otherwin wrpr %g0, 0, %wstate wrpr %g0, 0, %canrestore wrpr %g0, 6, %cansave wrpr %g0, 0, %cwp mov %g0, %sp mov %g0, %fp setsw (0x010000000), %fp setsw (0x020000000), %sp mov %g0, %y mov %g0, %o0 mov %g0, %o1 mov %g0, %o2 mov %g0, %o3 mov %g0, %o4 mov %g0, %o5 !wrpr %g0, 0, %gl !wrpr %g0, 0, %tl call sal_main nop