Console patch part II...
Ken Smith
kensmith at cse.Buffalo.EDU
Mon Mar 15 23:16:00 PST 2004
On Mon, Mar 15, 2004 at 11:09:37PM -0800, Marcel Moolenaar wrote:
> Where is the problem exactly? Is it syscons again (like on alpha)?
It's the same problem as on alpha. See sys/sparc64/sparc64/machdep.c
and search for where cninit() gets called. As far as I can tell that
needs to be moved to after mutex_init(), or at least to after where
the proc0 info gets set up. There are a *ton* of potential calls to
panic() between where cninit() is now and where it "should" be
moved to. I tried moving just the setup of proc0 stuff and the
section after it that talks about the per-cpu pages to above where
cninit() is now to see if I could get away without moving cninit()
but that didn't work. Quite a bit of stuff that happens after where
cninit() is now looks like it effects the stuff I think needs to
appear before cninit()...
--
Ken Smith
- From there to here, from here to | kensmith at cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
More information about the freebsd-sparc64
mailing list