xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH 1 of 5] docs: document HYPERVISOR_update_va_mapping(_other_domain)
Date: Fri, 2 Nov 2012 11:33:57 +0000	[thread overview]
Message-ID: <5093AFA5.4000107@citrix.com> (raw)
In-Reply-To: <e8e1191aef208fbe2f4d.1351855135@hastur.hellion.org.uk>

On 02/11/12 11:18, Ian Campbell wrote:
> docs: document HYPERVISOR_update_va_mapping(_other_domain)
> 
> Mark-up for inclusion of generated docs.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> 
> diff -r 37a8946eeb9d -r e8e1191aef20 xen/include/public/xen.h
> --- a/xen/include/public/xen.h	Fri Oct 26 16:09:29 2012 +0100
> +++ b/xen/include/public/xen.h	Fri Nov 02 12:15:56 2012 +0100
> @@ -423,9 +423,25 @@ typedef struct mmuext_op mmuext_op_t;
>  DEFINE_XEN_GUEST_HANDLE(mmuext_op_t);
>  #endif
>  
> +/*
> + * ` enum neg_errnoval
> + * ` HYPERVISOR_update_va_mapping(unsigned long va, u64 val,
> + * `                              enum uvm_flags flags)
> + * `
> + * ` enum neg_errnoval
> + * ` HYPERVISOR_update_va_mapping_otherdomain(unsigned long va, u64 val,
> + * `                                          enum uvm_flags flags,
> + * `                                          domid_t domid)
> + * `
> + * ` @va: The virtual address whose mapping we want to change
> + * ` @val: The new page table entry

Suggest mentioning that this PTE requires the MFN not PFN.

David

> + * ` @flags: Control TLB flushes
> + */
> +*/
>  /* These are passed as 'flags' to update_va_mapping. They can be ORed. */
>  /* When specifying UVMF_MULTI, also OR in a pointer to a CPU bitmap.   */
>  /* UVMF_LOCAL is merely UVMF_MULTI with a NULL bitmap pointer.         */
> +/* ` enum uvm_flags { */
>  #define UVMF_NONE               (0UL<<0) /* No flushing at all.   */
>  #define UVMF_TLB_FLUSH          (1UL<<0) /* Flush entire TLB(s).  */
>  #define UVMF_INVLPG             (2UL<<0) /* Flush only one entry. */
> @@ -433,6 +449,7 @@ DEFINE_XEN_GUEST_HANDLE(mmuext_op_t);
>  #define UVMF_MULTI              (0UL<<2) /* Flush subset of TLBs. */
>  #define UVMF_LOCAL              (0UL<<2) /* Flush local TLB.      */
>  #define UVMF_ALL                (1UL<<2) /* Flush all TLBs.       */
> +/* ` } */
>  
>  /*
>   * Commands to HYPERVISOR_console_io().
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2012-11-02 11:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02 11:18 [PATCH 0 of 5] docs: x86 PV MMU related functions Ian Campbell
2012-11-02 11:18 ` [PATCH 1 of 5] docs: document HYPERVISOR_update_va_mapping(_other_domain) Ian Campbell
2012-11-02 11:33   ` David Vrabel [this message]
2012-11-02 13:07     ` Ian Campbell
2012-11-19 11:31       ` Ian Jackson
2012-11-02 11:18 ` [PATCH 2 of 5] docs: Document HYPERVISOR_mmuext_op Ian Campbell
2012-11-19 11:31   ` Ian Jackson
2012-11-02 11:18 ` [PATCH 3 of 5] docs: Add ToC entry for start of day memory layout Ian Campbell
2012-11-19 11:32   ` Ian Jackson
2012-11-02 11:18 ` [PATCH 4 of 5] docs: Document HYPERVISOR_update_descriptor Ian Campbell
2012-11-19 11:31   ` Ian Jackson
2012-11-02 11:18 ` [PATCH 5 of 5] docs: Include prototype for HYPERVISOR_multicall Ian Campbell
2012-11-19 11:31   ` Ian Jackson
2012-11-12 10:04 ` [PATCH 0 of 5] docs: x86 PV MMU related functions Ian Campbell
2012-11-16 16:55 ` Ian Campbell
2012-11-18 21:02   ` Pasi Kärkkäinen
2012-11-19 10:29     ` Ian Campbell

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=5093AFA5.4000107@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).