[PATCH] Emulate more instructions in software

Kumar Gala galak at kernel.crashing.org
Wed Apr 18 16:11:00 EST 2007


On Apr 18, 2007, at 12:56 AM, Ananth N Mavinakayanahalli wrote:

> Emulate a few more instructions in software - especially useful during
> singlestepping (xmon/kprobes).
>
> Instructions emulated with this patch are mfcr/mtcr rX, mfxer/mtxer  
> rX,
> mflr/mtlr rX, mfctr/mtctr rX and mr rA,rB.
>
>
> Signed-off-by: Ananth N Mavinakayanahalli <ananth at in.ibm.com>

When do we actually need to emulate any of these instructions?  I  
don't see why single stepping would effect the ability to execute  
these instructions.

- k






More information about the Linuxppc-dev mailing list