From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: ring on PowerPC From: Benjamin Herrenschmidt To: Grant Likely In-Reply-To: References: Content-Type: text/plain Date: Wed, 31 Oct 2007 16:36:36 +1100 Message-Id: <1193808996.9928.112.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2007-10-30 at 23:18 -0600, Grant Likely wrote: > On 10/30/07, Bai Shuwei 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.