[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: UNS: Re: netbsd-5.1 cpu probe/attach for 11/7xx?
Johnny Billquist wrote:
Older VAXen don't really have a CPU attach function. There can only be
one CPU, and it is implicitly already attached.
I don't think that is how the code is working; at least in the
abstract. There are cpu attach routines for
all the 7xx cpu's, but none of them are being called. At the very least
they print a small amount of information
which is interestng to see -
I'm proposing a simple fix to make that code (which once worked) work again.
The system starts by trying to figure out what general type of system
it is (checking the SID), and then just start initializing pmap, and
all other stuff from there.
Check locore.c, which have the initial CPU type setup code.
Yes, thanks. I'm pretty familiar with locore.c and how it id's the cpu.
I also might argue that the 11/730 cpu is directly connected to the unibus.
So the practical question is - fix the broken cpu probe code? other
architectures have similar
cpu probe code, even in UP cases where the bus structure is simple. It
seems to make sense to
fix it, or if not, remove it. The code in locore.c simply id's the cpu,
it does not do any cpu specific
work or print anything helpful.
Main Index |
Thread Index |