All of lore.kernel.org
 help / color / mirror / Atom feed
* movl VCPU_processor(%ebx),%eax in exits.S
@ 2011-08-10 15:42 赵彬
  2011-08-11  2:04 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: 赵彬 @ 2011-08-10 15:42 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 617 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-11  2:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 15:42 movl VCPU_processor(%ebx),%eax in exits.S 赵彬
2011-08-11  2:04 ` Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.