linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* switch mmu context when jump into kernel
@ 1999-12-11  1:02 Wang Yong
  0 siblings, 0 replies; only message in thread
From: Wang Yong @ 1999-12-11  1:02 UTC (permalink / raw)
  To: linuxppc-embedded


powerpc 4xx use mmu context(called TID(0~255)) when translate virtual
addr to physical addr. a SPR named PID hold this context, so i think
once i enable the addr translate, i have to set PID to
current->mm->context
to make translating work correctly. and it should be set to 0 when
interrupt or system call arise.
but after studying the kernel source i downloaded from tivo for a long
time, i don't find any code to do that job. i think it mostly should be
in these place: transfer_to_handler and int_return but it not. is the
kernel missing something?

i am sorry if i post this message twice, my netscape got some problem.

Wang


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-12-11  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-11  1:02 switch mmu context when jump into kernel Wang Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).