summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-08-21 05:36:37 +0800
committerRichard Henderson <rth@twiddle.net>2015-09-15 07:41:19 -0700
commitb16189b22244e4cc158a3425b377b219586ec8ca (patch)
treea6e33f215528b9a505fda1fed4e2cc10b6ac5d71 /include
parent2cb154bc19854232b5379236dd9dfc06d83ced1e (diff)
downloadqemu-b16189b22244e4cc158a3425b377b219586ec8ca.tar.gz
qemu-b16189b22244e4cc158a3425b377b219586ec8ca.tar.bz2
qemu-b16189b22244e4cc158a3425b377b219586ec8ca.zip
linux-user: Support tilegx architecture in linux-user
Add main working flow feature, system call processing feature, and elf64 tilegx binary loading feature, based on Linux kernel tilegx 64-bit implementation. [rth: Moved all of the implementation of atomic instructions to a later patch.] Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <BLU436-SMTP938552D42808AA60634582B9660@phx.gbl> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include')
-rw-r--r--include/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 4afd474d5a..79859f0cd8 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -133,6 +133,8 @@ typedef int64_t Elf64_Sxword;
#define EM_AARCH64 183
+#define EM_TILEGX 191 /* TILE-Gx */
+
/* This is the info that is needed to parse the dynamic section of the file */
#define DT_NULL 0
#define DT_NEEDED 1