summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/opcodes-virt.h
Commit message (Collapse)AuthorAgeFilesLines
* ARM: opcodes: add __ERET/__MSR_ELR_HYP instruction encodingMarc Zyngier2012-09-191-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>
* ARM: 7511/1: opcodes: Opcode definitions for the Virtualization ExtensionsDave Martin2012-09-151-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>
OpenPOWER on IntegriCloud