aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/opcodes-virt.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-09-19ARM: opcodes: add __ERET/__MSR_ELR_HYP instruction encodingMarc Zyngier1-0/+10
Enabling boot from HYP mode requires the use of some more virt-specific instructions ("eret" and "msr elr_hyp, reg"). Add the necessary encoding to asm/opcode-virt.h. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2012-09-15ARM: 7511/1: opcodes: Opcode definitions for the Virtualization ExtensionsDave Martin1-0/+29
For now, this patch just adds a definition for the HVC instruction. More can be added here later, as needed. Now that we have a real example of how to use the opcode injection macros properly, this patch also adds a cross-reference from the explanation in opcodes.h (since without an example, figuring out how to use the macros is not that easy). Signed-off-by: Dave Martin <dave.martin@linaro.org> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>