powerpc: Unify opcode definitions and support
Create a new header that becomes a single location for defining PowerPC opcodes used by code that is either generationg instructions at runtime (fixups, debug, etc.), emulating instructions, or just compiling instructions old assemblers don't know about. We currently don't handle the floating point emulation or alignment decode as both are better handled by the specific decode support they already have. Added support for the new dcbzl, dcbal, msgsnd, tlbilx, & wait instructions since older assemblers don't know about them. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
bb9b903527
commit
16c57b3620
@@ -48,7 +48,7 @@ static void __init create_trampoline(unsigned long addr)
|
||||
* branch to "addr" we jump to ("addr" + 32 MB). Although it requires
|
||||
* two instructions it doesn't require any registers.
|
||||
*/
|
||||
patch_instruction(p, PPC_NOP_INSTR);
|
||||
patch_instruction(p, PPC_INST_NOP);
|
||||
patch_branch(++p, addr + PHYSICAL_START, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user