Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_X86_EMULATE_PREFIX_H
0003 #define _ASM_X86_EMULATE_PREFIX_H
0004 
0005 /*
0006  * Virt escape sequences to trigger instruction emulation;
0007  * ideally these would decode to 'whole' instruction and not destroy
0008  * the instruction stream; sadly this is not true for the 'kvm' one :/
0009  */
0010 
0011 #define __XEN_EMULATE_PREFIX  0x0f,0x0b,0x78,0x65,0x6e  /* ud2 ; .ascii "xen" */
0012 #define __KVM_EMULATE_PREFIX  0x0f,0x0b,0x6b,0x76,0x6d  /* ud2 ; .ascii "kvm" */
0013 
0014 #endif