ia64/linux-2.6.18-xen.hg

changeset 654:8566781df55e

Sync Xen public headers with xen-unstable.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Sep 01 10:46:19 2008 +0100 (2008-09-01)
parents 4dc80607377d
children 8925ce755252
files include/xen/interface/memory.h include/xen/interface/platform.h
line diff
     1.1 --- a/include/xen/interface/memory.h	Fri Aug 29 16:12:50 2008 +0100
     1.2 +++ b/include/xen/interface/memory.h	Mon Sep 01 10:46:19 2008 +0100
     1.3 @@ -204,6 +204,7 @@ struct xen_add_to_physmap {
     1.4      /* Source mapping space. */
     1.5  #define XENMAPSPACE_shared_info 0 /* shared info page */
     1.6  #define XENMAPSPACE_grant_table 1 /* grant table page */
     1.7 +#define XENMAPSPACE_mfn         2 /* usual MFN */
     1.8      unsigned int space;
     1.9  
    1.10      /* Index into source mapping space. */
    1.11 @@ -216,6 +217,22 @@ typedef struct xen_add_to_physmap xen_ad
    1.12  DEFINE_XEN_GUEST_HANDLE(xen_add_to_physmap_t);
    1.13  
    1.14  /*
    1.15 + * Unmaps the page appearing at a particular GPFN from the specified guest's
    1.16 + * pseudophysical address space.
    1.17 + * arg == addr of xen_remove_from_physmap_t.
    1.18 + */
    1.19 +#define XENMEM_remove_from_physmap      15
    1.20 +struct xen_remove_from_physmap {
    1.21 +    /* Which domain to change the mapping for. */
    1.22 +    domid_t domid;
    1.23 +
    1.24 +    /* GPFN of the current mapping of the page. */
    1.25 +    xen_pfn_t     gpfn;
    1.26 +};
    1.27 +typedef struct xen_remove_from_physmap xen_remove_from_physmap_t;
    1.28 +DEFINE_XEN_GUEST_HANDLE(xen_remove_from_physmap_t);
    1.29 +
    1.30 +/*
    1.31   * Translates a list of domain-specific GPFNs into MFNs. Returns a -ve error
    1.32   * code on failure. This call only works for auto-translated guests.
    1.33   */
     2.1 --- a/include/xen/interface/platform.h	Fri Aug 29 16:12:50 2008 +0100
     2.2 +++ b/include/xen/interface/platform.h	Mon Sep 01 10:46:19 2008 +0100
     2.3 @@ -97,7 +97,7 @@ DEFINE_XEN_GUEST_HANDLE(xenpf_read_memty
     2.4  #define XENPF_microcode_update    35
     2.5  struct xenpf_microcode_update {
     2.6      /* IN variables. */
     2.7 -    XEN_GUEST_HANDLE(void) data;      /* Pointer to microcode data */
     2.8 +    XEN_GUEST_HANDLE(const_void) data;/* Pointer to microcode data */
     2.9      uint32_t length;                  /* Length of microcode data. */
    2.10  };
    2.11  typedef struct xenpf_microcode_update xenpf_microcode_update_t;