[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Magic numbers in xen-arm hypercall


  • To: Xen Devel <xen-devel@xxxxxxxxxxxxx>
  • From: Sengul Thomas <thomas.sengul@xxxxxxxxx>
  • Date: Fri, 14 Jun 2013 09:24:49 +0900
  • Delivery-date: Fri, 14 Jun 2013 00:25:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello,

I saw some scary magic numbers in linux/arch/arm/hypercall.S, which are:

#define XEN_IMM 0xEA1


and in arch/arm/include/asm/opcodes-virt.h, which are

#define __HVC(imm16) __inst_arm_thumb32(                                \
        0xE1400070 | (((imm16) & 0xFFF0) << 4) | ((imm16) & 0x000F),    \
        0xF7E08000 | (((imm16) & 0xF000) << 4) | ((imm16) & 0x0FFF)     \
)

all that I know is those are used for hypercalls.
Could you give any hint or reference that I can learn those magic numbers?

thanks,
Thomas

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.