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

RE: [Xen-ia64-devel] VTi: break handling


  • To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Tue, 11 Apr 2006 19:41:29 +0800
  • Delivery-date: Tue, 11 Apr 2006 04:41:45 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcZdW2rjkCrVWAbtTu+CYirP9EFVHAAAOF3w
  • Thread-topic: [Xen-ia64-devel] VTi: break handling

>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tristan
>Gingold
>Sent: 2006?4?11? 19:04
>To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-ia64-devel] VTi: break handling
>
>Hi,
>
>in vmx_ivt.S:
>
>// 0x2c00 Entry 11 (size 64 bundles) Break instruction (33)
>ENTRY(vmx_break_fault)
>    VMX_DBG_FAULT(11)
>       mov r31=pr
>    mov r19=11
>    mov r30=cr.iim
>    movl r29=0x1100
>    ;;
>>>    cmp.eq p6,p7=r30,r0
>>>    (p6) br.sptk vmx_fault_11
>    ;;
>    cmp.eq  p6,p7=r29,r30
>    (p6) br.dptk.few vmx_hypercall_dispatch
>    (p7) br.sptk.many vmx_dispatch_break_fault
>    ;;
>    VMX_FAULT(11);
>END(vmx_break_fault)
>
>Is the '>>' section debug code ? I fear a bug here.
It was used for debug.
Break 0, its opcode is 0, 
Usually break 0 is not used by linux kernel and application. 
When break 0 is executed, it usually means some thing wrong.

Thanks,
Anthony


>
>Thank you for comments,
>Tristan.
>
>
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel

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


 


Rackspace

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