Re: [osol-code] Enabling interrupts before pg_init()

2009-10-12 Thread Neale Ferguson
I missed the pg_cpu_bootstrap(CPU) call in mlsetup which fixes things so that the segv will not occur. -- This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/lis

[osol-code] Enabling interrupts before pg_init()

2009-10-12 Thread Neale Ferguson
In os/main.c there is the following sequence of code. With interrupts enabled via spl0 timer interrupts etc. will be able to flow. However, pg_init() is not called until post_startup(). So if an interrupt occurs that requires a change of thread then pg_ev_thread_swtch() will be called without cp