]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
Arm/p2m: fix build after ea22bcd030da and 2aa977eb6baa
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Jan 2020 12:48:13 +0000 (13:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Jan 2020 12:48:13 +0000 (13:48 +0100)
Each of these commits introduced a function prototype referencing a
structure which hadn't at least been forward declared. Add such
declarations.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/include/xen/mem_access.h

index 5d53fb8ce410172cfa7595b7cf71ca2ffd434e3e..9dfebe6a297882e65909e370ae8205d0972e5d4c 100644 (file)
@@ -58,6 +58,7 @@ typedef enum {
     /* NOTE: Assumed to be only 4 bits right now on x86. */
 } p2m_access_t;
 
+struct p2m_domain;
 bool xenmem_access_to_p2m_access(const struct p2m_domain *p2m,
                                  xenmem_access_t xaccess,
                                  p2m_access_t *paccess);
@@ -79,6 +80,7 @@ long p2m_set_mem_access_multi(struct domain *d,
 int p2m_set_suppress_ve(struct domain *d, gfn_t gfn, bool suppress_ve,
                         unsigned int altp2m_idx);
 
+struct xen_hvm_altp2m_suppress_ve_multi;
 int p2m_set_suppress_ve_multi(struct domain *d,
                               struct xen_hvm_altp2m_suppress_ve_multi *suppress_ve);