aboutsummaryrefslogtreecommitdiffstats
path: root/elf.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-05-10 10:55:21 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-06-01 17:08:17 +0200
commit17410ee4539bb5216421bb9f9dc287b1f678b6cd (patch)
tree3651570420faac7bed11775c7f1f4d483424ac0e /elf.h
parent5973c775c853e26f684de58ad28c267281aaffd6 (diff)
downloadexternal_qemu-17410ee4539bb5216421bb9f9dc287b1f678b6cd.zip
external_qemu-17410ee4539bb5216421bb9f9dc287b1f678b6cd.tar.gz
external_qemu-17410ee4539bb5216421bb9f9dc287b1f678b6cd.tar.bz2
qemu-char.h, console.h: upstream integration
Change-Id: Ibd11e84a4d48c1d6c4a168056869a7480bc89930
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index 7067c90..ffcac7e 100644
--- a/elf.h
+++ b/elf.h
@@ -104,6 +104,9 @@ typedef int64_t Elf64_Sxword;
#define EM_H8_300H 47 /* Hitachi H8/300H */
#define EM_H8S 48 /* Hitachi H8S */
+#define EM_LATTICEMICO32 138 /* LatticeMico32 */
+
+#define EM_UNICORE32 110 /* UniCore32 */
/*
* This is an interim value that we will use until the committee comes
@@ -1191,6 +1194,25 @@ typedef struct elf64_note {
Elf64_Word n_type; /* Content type */
} Elf64_Nhdr;
+
+/* This data structure represents a PT_LOAD segment. */
+struct elf32_fdpic_loadseg {
+ /* Core address to which the segment is mapped. */
+ Elf32_Addr addr;
+ /* VMA recorded in the program header. */
+ Elf32_Addr p_vaddr;
+ /* Size of this segment in memory. */
+ Elf32_Word p_memsz;
+};
+struct elf32_fdpic_loadmap {
+ /* Protocol version number, must be zero. */
+ Elf32_Half version;
+ /* Number of segments in this map. */
+ Elf32_Half nsegs;
+ /* The actual memory map. */
+ struct elf32_fdpic_loadseg segs[/*nsegs*/];
+};
+
#ifdef ELF_CLASS
#if ELF_CLASS == ELFCLASS32