mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
arm/mpu: Disable map_domain_page for MPU
There is no domheap for ARM_32. All of the RAM is mapped and VA == PA. Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@amd.com> Reviewed-by: Hari Limaye <hari.limaye@arm.com> Tested-by: Hari Limaye <hari.limaye@arm.com> Reviewed-by: Michal Orzel <michal.orzel@amd.com>
This commit is contained in:
1 parent
120747f84a
commit
72042ea63b
3 files changed
+1
-47
No files matched your search
@@ -1,7 +1,7 @@
|
||||
config ARM_32
|
||||
def_bool y
|
||||
depends on "$(ARCH)" = "arm32"
|
||||
select ARCH_MAP_DOMAIN_PAGE
|
||||
select ARCH_MAP_DOMAIN_PAGE if MMU
|
||||
|
||||
config ARM_64
|
||||
def_bool y
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
obj-$(CONFIG_ARM_32) += arm32/
|
||||
obj-$(CONFIG_ARM_64) += arm64/
|
||||
obj-$(CONFIG_ARM_32) += domain-page.o
|
||||
obj-y += mm.o
|
||||
obj-y += p2m.o
|
||||
obj-y += setup.init.o
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <xen/bug.h>
|
||||
#include <xen/domain_page.h>
|
||||
#include <xen/mm-frame.h>
|
||||
#include <xen/types.h>
|
||||
|
||||
void *map_domain_page_global(mfn_t mfn)
|
||||
{
|
||||
BUG_ON("unimplemented");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Map a page of domheap memory */
|
||||
void *map_domain_page(mfn_t mfn)
|
||||
{
|
||||
BUG_ON("unimplemented");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Release a mapping taken with map_domain_page() */
|
||||
void unmap_domain_page(const void *ptr)
|
||||
{
|
||||
BUG_ON("unimplemented");
|
||||
}
|
||||
|
||||
mfn_t domain_page_map_to_mfn(const void *ptr)
|
||||
{
|
||||
BUG_ON("unimplemented");
|
||||
return INVALID_MFN;
|
||||
}
|
||||
|
||||
void unmap_domain_page_global(const void *va)
|
||||
{
|
||||
BUG_ON("unimplemented");
|
||||
}
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
* mode: C
|
||||
* c-file-style: "BSD"
|
||||
* c-basic-offset: 4
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*/
|
||||