aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/shadow.h
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2006-12-21 13:48:13 +0000
committerTim Deegan <Tim.Deegan@xensource.com>2006-12-21 13:48:13 +0000
commit015f6a2832c6304c9eccdbbe09ddb71efb2144d7 (patch)
tree7a1848b57da4b2cbe66a737fbd18b28b06f50d1d /xen/include/asm-x86/shadow.h
parent95dae30a62be4e1e41fa29a393244206a85ec974 (diff)
downloadxen-015f6a2832c6304c9eccdbbe09ddb71efb2144d7.tar.gz
xen-015f6a2832c6304c9eccdbbe09ddb71efb2144d7.tar.bz2
xen-015f6a2832c6304c9eccdbbe09ddb71efb2144d7.zip
[XEN] Update comments to reflect cset 13059:6cbed96fedac
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/shadow.h')
-rw-r--r--xen/include/asm-x86/shadow.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
index 46027d94ac..d9c94010c0 100644
--- a/xen/include/asm-x86/shadow.h
+++ b/xen/include/asm-x86/shadow.h
@@ -248,11 +248,9 @@ static inline unsigned long shadow_gva_to_gfn(struct vcpu *v, unsigned long va)
return v->arch.shadow.mode->gva_to_gfn(v, va);
}
-/* Update all the things that are derived from the guest's CR3.
- * Called when the guest changes CR3; the caller can then use
- * v->arch.cr3 as the value to load into the host CR3 to schedule this vcpu
- * and v->arch.hvm_vcpu.hw_cr3 as the value to put in the vmcb/vmcs when
- * entering the HVM guest. */
+/* Update all the things that are derived from the guest's CR3.
+ * Called when the guest changes CR3; the caller can then use v->arch.cr3
+ * as the value to load into the host CR3 to schedule this vcpu */
static inline void shadow_update_cr3(struct vcpu *v)
{
v->arch.shadow.mode->update_cr3(v, 1);