All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerone Young <jyoung5@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: code question xen/arch/x86/vmx.c
Date: Thu, 11 Aug 2005 16:48:20 -0500	[thread overview]
Message-ID: <1123796900.3043.71.camel@thinkpad> (raw)

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@us.ibm.com
512-838-1157 (T/L: 678-1157)

             reply	other threads:[~2005-08-11 21:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-11 21:48 Jerone Young [this message]
2005-08-11 21:47 ` code question xen/arch/x86/vmx.c Keir Fraser
2005-08-11 21:57   ` Jerone Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1123796900.3043.71.camel@thinkpad \
    --to=jyoung5@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.