aboutsummaryrefslogtreecommitdiffstats
path: root/config/arm32.mk
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-12-19 14:16:30 +0000
committerIan Campbell <ian.campbell@citrix.com>2012-12-19 14:16:30 +0000
commit5a81d6b026ab06123f47e39bc47aedcf23048e6b (patch)
treea450f0d70e07174ed80819808588fcecbcd43ffd /config/arm32.mk
parent977dba41ab7c2380c4b6757aed2e680a0d7df4c1 (diff)
downloadxen-5a81d6b026ab06123f47e39bc47aedcf23048e6b.tar.gz
xen-5a81d6b026ab06123f47e39bc47aedcf23048e6b.tar.bz2
xen-5a81d6b026ab06123f47e39bc47aedcf23048e6b.zip
xen: arm: introduce arm32 as a subarch of arm.
- move 32-bit specific files into subarch specific arm32 subdirectory. - move gic.h to xen/include/asm-arm (it is needed from both subarch and generic code). - make the appropriate build and config file changes to support XEN_TARGET_ARCH=arm32. This prepares us for an eventual 64-bit subarch. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'config/arm32.mk')
-rw-r--r--config/arm32.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/arm32.mk b/config/arm32.mk
new file mode 100644
index 0000000000..f64f0c1c83
--- /dev/null
+++ b/config/arm32.mk
@@ -0,0 +1,18 @@
+CONFIG_ARM := y
+CONFIG_ARM_32 := y
+CONFIG_ARM_$(XEN_OS) := y
+
+# -march= -mcpu=
+
+# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
+CFLAGS += -marm
+
+HAS_PL011 := y
+
+# Use only if calling $(LD) directly.
+#LDFLAGS_DIRECT_OpenBSD = _obsd
+#LDFLAGS_DIRECT_FreeBSD = _fbsd
+LDFLAGS_DIRECT_Linux = _linux
+LDFLAGS_DIRECT += -marmelf$(LDFLAGS_DIRECT_$(XEN_OS))_eabi
+
+CONFIG_LOAD_ADDRESS ?= 0x80000000