On Tue, 2013-04-23 at 06:36 +0000, Jia Hongtao-B38951 wrote: > These definitions are firstly used by KVM defined like OP_31_XOP_TRAP. > Two ways to extract these definitions for public use: > > 1. Like this patch did. For keeping the KVM code that using these > definitions unchanged we do not update them to match. > > 2. Move these definitions to another .h file like my last patch did: > http://patchwork.ozlabs.org/patch/235646/ > You can see the comments there.
There's a better way ... but it's more work. All opcodes are based on a primary opcode and a potential secondary opcode. You could/should rework ppc-opcodes.h to in fact define them all that way as well, which would "reconcile" the KVM way and the existing stuff. Cheers, Ben. > Thanks. > -Hongtao > > > > > > > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev