ia64/xen-unstable

changeset 10660:74018b65c369

[XEN] getpagframeinfo field name mfn -> gmfn.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Jul 05 17:37:08 2006 +0100 (2006-07-05)
parents 2aa910eb3713
children 8e55c5c11475
files tools/libxc/xc_private.c xen/arch/ia64/xen/dom0_ops.c xen/arch/x86/dom0_ops.c xen/include/public/dom0_ops.h
line diff
     1.1 --- a/tools/libxc/xc_private.c	Wed Jul 05 17:16:10 2006 +0100
     1.2 +++ b/tools/libxc/xc_private.c	Wed Jul 05 17:37:08 2006 +0100
     1.3 @@ -26,7 +26,7 @@ unsigned int get_pfn_type(int xc_handle,
     1.4  {
     1.5      DECLARE_DOM0_OP;
     1.6      op.cmd = DOM0_GETPAGEFRAMEINFO;
     1.7 -    op.u.getpageframeinfo.mfn    = mfn;
     1.8 +    op.u.getpageframeinfo.gmfn   = mfn;
     1.9      op.u.getpageframeinfo.domain = (domid_t)dom;
    1.10      if ( do_dom0_op(xc_handle, &op) < 0 )
    1.11      {
     2.1 --- a/xen/arch/ia64/xen/dom0_ops.c	Wed Jul 05 17:16:10 2006 +0100
     2.2 +++ b/xen/arch/ia64/xen/dom0_ops.c	Wed Jul 05 17:37:08 2006 +0100
     2.3 @@ -32,7 +32,7 @@ long arch_do_dom0_op(dom0_op_t *op, XEN_
     2.4      case DOM0_GETPAGEFRAMEINFO:
     2.5      {
     2.6          struct page_info *page;
     2.7 -        unsigned long mfn = op->u.getpageframeinfo.mfn;
     2.8 +        unsigned long mfn = op->u.getpageframeinfo.gmfn;
     2.9          domid_t dom = op->u.getpageframeinfo.domain;
    2.10          struct domain *d;
    2.11  
     3.1 --- a/xen/arch/x86/dom0_ops.c	Wed Jul 05 17:16:10 2006 +0100
     3.2 +++ b/xen/arch/x86/dom0_ops.c	Wed Jul 05 17:37:08 2006 +0100
     3.3 @@ -207,7 +207,7 @@ long arch_do_dom0_op(struct dom0_op *op,
     3.4      case DOM0_GETPAGEFRAMEINFO:
     3.5      {
     3.6          struct page_info *page;
     3.7 -        unsigned long mfn = op->u.getpageframeinfo.mfn;
     3.8 +        unsigned long mfn = op->u.getpageframeinfo.gmfn;
     3.9          domid_t dom = op->u.getpageframeinfo.domain;
    3.10          struct domain *d;
    3.11  
     4.1 --- a/xen/include/public/dom0_ops.h	Wed Jul 05 17:16:10 2006 +0100
     4.2 +++ b/xen/include/public/dom0_ops.h	Wed Jul 05 17:37:08 2006 +0100
     4.3 @@ -162,7 +162,7 @@ DEFINE_XEN_GUEST_HANDLE(dom0_settime_t);
     4.4  
     4.5  struct dom0_getpageframeinfo {
     4.6      /* IN variables. */
     4.7 -    xen_pfn_t mfn;         /* Machine page frame number to query.       */
     4.8 +    xen_pfn_t gmfn;        /* GMFN to query.                            */
     4.9      domid_t domain;        /* To which domain does the frame belong?    */
    4.10      /* OUT variables. */
    4.11      /* Is the page PINNED to a type? */
    4.12 @@ -177,9 +177,9 @@ DEFINE_XEN_GUEST_HANDLE(dom0_getpagefram
    4.13  #define DOM0_READCONSOLE      19
    4.14  struct dom0_readconsole {
    4.15      /* IN variables. */
    4.16 -    uint32_t clear;            /* Non-zero -> clear after reading. */
    4.17 +    uint32_t clear;                /* Non-zero -> clear after reading. */
    4.18 +    XEN_GUEST_HANDLE(char) buffer; /* Buffer start */
    4.19      /* IN/OUT variables. */
    4.20 -    XEN_GUEST_HANDLE(char) buffer; /* In: Buffer start; Out: Used buffer start */
    4.21      uint32_t count;            /* In: Buffer size;  Out: Used buffer size  */
    4.22  };
    4.23  typedef struct dom0_readconsole dom0_readconsole_t;