summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-14 20:57:57 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-14 20:57:57 (GMT)
commit5fcaf8b3ffd078a579b330edad51b3d749054dc4 (patch)
treeb3edded93a96584abf55405fef9a0e54089a29a2 /arch
parent8ab984f4aac7304166221e9ef614f5179e1b5efd (diff)
Preliminary Alpha support, courtesy Ioannis E. Venetis <venetis@capsl.udel.edu>.
/trunk/docs/CREDITS | 3 3 0 0 + /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 282 282 0 0 +++++++++++++++++++ /trunk/config/target.in | 9 9 0 0 + /trunk/arch/alpha/functions | 9 9 0 0 + /trunk/arch/alpha/config.in | 58 58 0 0 ++++ 5 files changed, 361 insertions(+)
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/config.in58
-rw-r--r--arch/alpha/functions9
2 files changed, 67 insertions, 0 deletions
diff --git a/arch/alpha/config.in b/arch/alpha/config.in
new file mode 100644
index 0000000..3a7329d
--- /dev/null
+++ b/arch/alpha/config.in
@@ -0,0 +1,58 @@
+# Alpha specific configuration file
+
+comment "Alpha specific configuration"
+
+choice
+ bool
+ prompt "Variant"
+
+config ARCH_ALPHA_EV4
+ bool
+ prompt "EV4"
+
+config ARCH_ALPHA_EV45
+ bool
+ prompt "EV45"
+
+config ARCH_ALPHA_EV5
+ bool
+ prompt "EV5"
+
+config ARCH_ALPHA_EV56
+ bool
+ prompt "EV56"
+
+config ARCH_ALPHA_EV6
+ bool
+ prompt "EV6"
+
+config ARCH_ALPHA_EV67
+ bool
+ prompt "EV67"
+
+endchoice
+
+config ARCH_ALPHA_VARIANT
+ string
+ default "ev4" if ARCH_ALPHA_EV4
+ default "ev45" if ARCH_ALPHA_EV45
+ default "ev5" if ARCH_ALPHA_EV5
+ default "ev56" if ARCH_ALPHA_EV56
+ default "ev6" if ARCH_ALPHA_EV6
+ default "ev67" if ARCH_ALPHA_EV67
+
+config ARCH_CPU
+ default "ev4" if ARCH_ALPHA_EV4
+ default "ev45" if ARCH_ALPHA_EV45
+ default "ev5" if ARCH_ALPHA_EV5
+ default "ev56" if ARCH_ALPHA_EV56
+ default "ev6" if ARCH_ALPHA_EV6
+ default "ev67" if ARCH_ALPHA_EV67
+
+config ARCH_TUNE
+ default "ev4" if ARCH_ALPHA_EV4
+ default "ev45" if ARCH_ALPHA_EV45
+ default "ev5" if ARCH_ALPHA_EV5
+ default "ev56" if ARCH_ALPHA_EV56
+ default "ev6" if ARCH_ALPHA_EV6
+ default "ev67" if ARCH_ALPHA_EV67
diff --git a/arch/alpha/functions b/arch/alpha/functions
new file mode 100644
index 0000000..ea8ef53
--- /dev/null
+++ b/arch/alpha/functions
@@ -0,0 +1,9 @@
+# Compute Alpha-specific values
+
+CT_DoArchValues () {
+ # The architecture part of the tuple:
+ CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_ALPHA_VARIANT}"
+
+ # The kernel ARCH:
+ CT_KERNEL_ARCH=${CT_ARCH}
+}