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

[Xen-devel] Xen on ARM: Read SP_usr and SP_svc in HYP mode


Now I want to implement some functions in other hypervisor, so I need to read SP_usr and SP_svc in HYP mode. I know Xen has implemented this function. But I use it with regs->sp_usr/svc to achieve this. But I don't know how to achieve it. I have read the entry.S file and get the process to save the regs, but some definition is not clear. I want to know if there is some asm command to achieve this? Or do I need to switch the mode manually to read it?

Thanks and regards,

Xen-devel mailing list



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