Re: One more patch for Alpha console issues...

From: Peter Grehan <grehan_at_freebsd.org>
Date: Mon, 01 Mar 2004 14:57:46 +1000
 > Any further thoughts?

  The problem is that make_dev() calls devlock(), which requires
curthread to be valid to take out a mutex.

  The fix is to put the hand-crafting of proc0, thread0 and pcpu
data and mutex_init to be *before* the call to cninit(). This
is why i386 works.

  I had the same problem on PPC, and fortunately had the psim simulator
to work out what was going on.

later,

Peter.
Received on Sun Feb 29 2004 - 19:55:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC