Skip to contentSkip to conversation

switch mmu context when jump into kernel

DISCUSSION Wang Yong 1 participant 1 message Dec 11, 1999

lore
Share & tools
lore

Wang Yong

author
#0 lore raw

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/