aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/libelf
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-02-09 11:33:29 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-02-09 11:33:29 +0000
commita03bc285bdbc88042f150dd732fc4a124be36627 (patch)
tree890f2b0db53640eb20dad669553c015a49c79972 /xen/common/libelf
parent3037c5a2cb828240e1e54390cff66595da96bb24 (diff)
downloadxen-a03bc285bdbc88042f150dd732fc4a124be36627.tar.gz
xen-a03bc285bdbc88042f150dd732fc4a124be36627.tar.bz2
xen-a03bc285bdbc88042f150dd732fc4a124be36627.zip
arm: domain_build
Functions to build dom0: memory allocation, p2m construction, mappings of the MMIO regions, ATAG setup. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/common/libelf')
-rw-r--r--xen/common/libelf/libelf-dominfo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/common/libelf/libelf-dominfo.c b/xen/common/libelf/libelf-dominfo.c
index c569a4893a..523837f9f4 100644
--- a/xen/common/libelf/libelf-dominfo.c
+++ b/xen/common/libelf/libelf-dominfo.c
@@ -341,6 +341,12 @@ static int elf_xen_note_check(struct elf_binary *elf,
return 0;
}
+ if ( elf_uval(elf, elf->ehdr, e_machine) == EM_ARM )
+ {
+ elf_msg(elf, "%s: Not bothering with notes on ARM\n", __FUNCTION__);
+ return 0;
+ }
+
/* Check the contents of the Xen notes or guest string. */
if ( ((strlen(parms->loader) == 0) ||
strncmp(parms->loader, "generic", 7)) &&