xen: arm: stub page_is_ram_type.

Callers are VT-d (so x86 specific) and various bits of page offlining
support, which although it looks generic (and is in xen/common) does
things like diving into page_info->count_info which is not generic.

In any case on this is only reachable via XEN_SYSCTL_page_offline_op,
which clearly shouldn't be called on ARM just yet.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Ian Campbell committed 2012-12-19 14:16:23 +00:00
1 parent bf7106ef98
commit 214c4cd94a
2 files changed
+6 -3

No files matched your search

-3
View File
@@ -9,9 +9,6 @@ x: mov pc, lr
/* PIRQ support */
DUMMY(nr_irqs_gsi);
/* Page Offlining */
DUMMY(page_is_ram_type);
/* Other */
DUMMY(domain_get_maximum_gpfn);
DUMMY(domain_relinquish_resources);
+6
View File
@@ -441,6 +441,12 @@ int steal_page(
return -1;
}
int page_is_ram_type(unsigned long mfn, unsigned long mem_type)
{
ASSERT(0);
return 0;
}
void share_xen_page_with_guest(struct page_info *page,
struct domain *d, int readonly)
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.