[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] GET_CURRENT macro in entry.S
Bottom of stack is cpu_info
structure:
struct cpu_info {
struct cpu_user_regs guest_cpu_user_regs; unsigned int processor_id; struct vcpu *current_vcpu; }; Below code locates cpu_info on current stack (esp), and
then fetch current_vcpu pointer into ebx.
Thanks,
Kevin
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |