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

Re: [Xen-devel] How to handle the supervisor call in Xen on ARM?



On Sun, 2014-09-07 at 19:42 -0700, harry2845 wrote:
> Now I've known that if I set the HCR.TGE, the supervisor call will be trapped
> into hyp mode. But if I do nothing in hyp mode. After return to user, there
> will be a kernel panic.

Yes, because you have to deal with all of the trapped general exceptions
somehow.

> But I don't know how to handle the supervisor call, could someone give me
> some advice?

I'm afraid not. You will need to spend some time reading the ARM ARM
manual and figure out what the correct response is to each thing which
is trapped by setting the HCR.TGE bit. Some might be handled by just
returning, others will require you to actually do something.

>  Thank you very much.

This is now the 3rd time you've started this thread. Please stick to a
single thread and reply there as necessary.

Ian.


_______________________________________________
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®.