Subject: question on powerpc ports
To: None <tech-ports@netbsd.org>
From: Pramod Srinivasan <pramodsri@yahoo.com>
List: tech-ports
Date: 04/25/2003 19:26:24
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