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.
xen/common/softirq.c
A simple grep is enough for you.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|