From: Wang Yong <wung_y@yahoo.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: switch mmu context when jump into kernel
Date: Sat, 11 Dec 1999 09:02:01 +0800 [thread overview]
Message-ID: <3851A289.226B892C@yahoo.com> (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/
reply other threads:[~1999-12-11 1:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3851A289.226B892C@yahoo.com \
--to=wung_y@yahoo.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.