[RFC] [PATCH] powerpc: Add MSR_DE to MSR_KERNEL
ppc at mindchasers.com
Wed May 30 23:26:48 EST 2012
On 05/30/2012 03:43 AM, Joakim Tjernlund wrote:
> Emulators such as BDI2000 and CodeWarrior needs to have MSR_DE set
> in order to support break points.
> This adds MSR_DE for kernel space only.
> I have tested this briefly with BDI2000 on P2010(e500) and
> it works for me. I don't know if there are any bad side effects, therfore
> this RFC.
> arch/powerpc/include/asm/reg.h | 2 +-
> arch/powerpc/include/asm/reg_booke.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
I believe that additional patches are required for CodeWarrior to work
properly (e.g., assembly start up). I think the patches should come
from Freescale. For whatever reason, they include them in their SDK,
but haven't submitted them for inclusion in the mainline.
As a developer on Freescale Power products, I would like to see
Freescale offer up a CodeWarrior patch set, so I don't have to manage
the patches myself when working outside the SDK (i.e., on a more recent
More information about the Linuxppc-dev