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

[Xen-devel] code question xen/arch/x86/vmx.c


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Jerone Young <jyoung5@xxxxxxxxxx>
  • Date: Thu, 11 Aug 2005 16:48:20 -0500
  • Delivery-date: Thu, 11 Aug 2005 21:49:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

In function vmx_dr_access in xen/arch/x86/vmx.c there is a long pointer
named "reg_p". reg_p is assigned to
 
v->arch.guest_context.debugreg[reg] = *reg_p;

in the switch case  TYPE_MOV_TO_DR.

yet it has no assignment before this? What is the intent of reg_p?

It also is assigned in the switch case TYPE_MOVE_FROM_DR...yet it's not
used for anything ?


-- 
Jerone Young
IBM Linux Technology Center
jyoung5@xxxxxxxxxx
512-838-1157 (T/L: 678-1157)


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


 


Rackspace

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