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

Re: [Xen-devel] movl VCPU_processor(%ebx),%eax in exits.S

On Wed, Aug 10, 2011 at 11:42:06PM +0800, èå wrote:
> In  the file \xen\arch\x86\hvm\svm\x86_32\exits.S
>  this instruction  movl VCPU_processor(%ebx),%eax, I  found
> OFFSET(VCPU_processor, struct vcpu, processor) in   asm-offsets.c,and so was
> DEFINE(IRQSTAT_shift, LOG_2(sizeof(irq_cpustat_t)));
> In my opinion,they means offset(vcpu,processor) and
> LOG_2(sizeof(irq_cpustat_t) , am i right?
>         movl VCPU_processor(%ebx),%eax
>         shl  $IRQSTAT_shift,%eax
>         testl $~0,irq_stat(%eax,1)
>         jnz  svm_process_softirqs
> I did't find  irq_stat(,),and so I did't know what do the first three
> instructions mean.


A simple grep is enough for you.


Xen-devel mailing list



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