* ring on PowerPC
@ 2007-10-31 5:05 Bai Shuwei
2007-10-31 5:18 ` Grant Likely
0 siblings, 1 reply; 5+ messages in thread
From: Bai Shuwei @ 2007-10-31 5:05 UTC (permalink / raw)
To: linuxppc-embedded, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
Hi, everyone
As we know, the program on the X86 can run on the differnt ring(0, 1, 2,
3) and the linux kernel run in the ring 0 and user program in the ring 3.
And now I want to know wether there is a simple mechanism on the PowerPC
architecture? thx all!
best regards!
Buroc
--
Add: Tianshui South Road 222, Lanzhou, P.R.China
Tel: +86-931-8912025
Zip Code: 730000
URL: oss.lzu.edu.cn
Email: baishuwei@gmail.com, buroc@126.com
[-- Attachment #2: Type: text/html, Size: 675 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ring on PowerPC
2007-10-31 5:05 ring on PowerPC Bai Shuwei
@ 2007-10-31 5:18 ` Grant Likely
2007-10-31 5:36 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 5+ messages in thread
From: Grant Likely @ 2007-10-31 5:18 UTC (permalink / raw)
To: Bai Shuwei; +Cc: linuxppc-dev, linuxppc-embedded
On 10/30/07, Bai Shuwei <baishuwei@gmail.com> wrote:
> Hi, everyone
> As we know, the program on the X86 can run on the differnt ring(0, 1, 2,
> 3) and the linux kernel run in the ring 0 and user program in the ring 3.
> And now I want to know wether there is a simple mechanism on the PowerPC
> architecture? thx all!
Powerpc has 2 privilege levels; user and supervisor. The kernel runs
in supervisor mode, and user-space runs in user mode.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ring on PowerPC
2007-10-31 5:18 ` Grant Likely
@ 2007-10-31 5:36 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2007-10-31 5:36 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev, linuxppc-embedded
On Tue, 2007-10-30 at 23:18 -0600, Grant Likely wrote:
> On 10/30/07, Bai Shuwei <baishuwei@gmail.com> wrote:
> > Hi, everyone
> > As we know, the program on the X86 can run on the differnt ring(0, 1, 2,
> > 3) and the linux kernel run in the ring 0 and user program in the ring 3.
> > And now I want to know wether there is a simple mechanism on the PowerPC
> > architecture? thx all!
>
> Powerpc has 2 privilege levels; user and supervisor. The kernel runs
> in supervisor mode, and user-space runs in user mode.
To be complete here, some implementations have 3 :-) Don't forget
hypervisor mode !
Ben.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <393807697.25590@lzu.edu.cn>]
end of thread, other threads:[~2007-10-31 7:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-31 5:05 ring on PowerPC Bai Shuwei
2007-10-31 5:18 ` Grant Likely
2007-10-31 5:36 ` Benjamin Herrenschmidt
[not found] <393807697.25590@lzu.edu.cn>
[not found] ` <200710311412.36584.wangbj@lzu.edu.cn>
2007-10-31 6:12 ` Wang, Baojun
2007-10-31 7:09 ` Bai Shuwei
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).