[RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms
David Gibson
dwg at au1.ibm.com
Fri Dec 11 14:28:15 EST 2009
On Thu, Dec 10, 2009 at 08:41:53PM -0600, Kumar Gala wrote:
[snip]
> > +#define DBCR1_USER_DEBUG (DBCR1_IAC12M | DBCR1_IAC34M)
> > +#define DBCR1_BASE_REG_VALUE (DBCR1_IAC1US | DBCR1_IAC1ER_10 | \
> > + DBCR1_IAC2US | DBCR1_IAC2ER_10 | \
> > + DBCR1_IAC3US | DBCR1_IAC3ER_10 | \
> > + DBCR1_IAC4US | DBCR1_IAC4ER_10)
>
> We are we using MSR[IS] IS=0, why not just any Eff address? In the
> future we might have user as IS = 1, and kernel as IS = 0.
Since the user can't control that directly, we can update this when
and if we change our use of address spaces.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the Linuxppc-dev
mailing list