question on powerpc ports

Pramod Srinivasan <[email protected]> Fri, 25 Apr 2003 19:26:24 -0700 (PDT)
Newsgroups gmane.os.netbsd.devel.ports
Message-ID <[email protected]>
Hi,

I have a question about the how entry and exit from
kernel is handled.

I am working on powerpc and using netbsd 1.4.I ported
the pmap module from netbsd 1.6 to netbsd 1.4 but
having some problems with the switching of the
segments registers.

On entry to the kernel, when should we change segment
registers? I guess that if the msr[PR] is 1, we should
not restore the kernel segment registers, but I am
confused a bit.

Thanks,
--pramod

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com