From 4b7c2e32acca981469e02b8cd010730705c97f88 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 27 Jun 2008 14:55:22 +0000 Subject: Update the architecture API: architecture help is mandatory. Update all architectures (some with pointer to the specs, when available). /trunk/docs/overview.txt | 8 8 0 0 ++++++++ /trunk/arch/arm/config.in | 3 3 0 0 +++ /trunk/arch/powerpc/config.in | 3 3 0 0 +++ /trunk/arch/ia64/config.in | 3 3 0 0 +++ /trunk/arch/alpha/config.in | 2 2 0 0 ++ /trunk/arch/x86/config.in | 3 3 0 0 +++ /trunk/arch/mips/config.in | 3 3 0 0 +++ /trunk/arch/sh/config.in | 3 3 0 0 +++ /trunk/arch/x86_64/config.in | 3 3 0 0 +++ 9 files changed, 31 insertions(+) diff --git a/arch/alpha/config.in b/arch/alpha/config.in index 3cd07c5..704c243 100644 --- a/arch/alpha/config.in +++ b/arch/alpha/config.in @@ -1,6 +1,8 @@ # Alpha specific configuration file config ARCH_alpha + help + The Alpha architecture. choice bool diff --git a/arch/arm/config.in b/arch/arm/config.in index a358405..ac517d6 100644 --- a/arch/arm/config.in +++ b/arch/arm/config.in @@ -3,6 +3,9 @@ config ARCH_arm select ARCH_SUPPORTS_BOTH_ENDIAN select ARCH_DEFAULT_LE + help + The ARM architecture, as defined by: + http://www.arm.com/ config ARCH_ARM_EABI bool diff --git a/arch/ia64/config.in b/arch/ia64/config.in index e8694c0..e015c28 100644 --- a/arch/ia64/config.in +++ b/arch/ia64/config.in @@ -2,3 +2,6 @@ config ARCH_ia64 select ARCH_SUPPORTS_BOTH_ENDIAN + help + The ia64 architecture, as defined by: + http://www.intel.com/design/itanium/arch_spec.htm diff --git a/arch/mips/config.in b/arch/mips/config.in index abd911a..a4f90b7 100644 --- a/arch/mips/config.in +++ b/arch/mips/config.in @@ -3,3 +3,6 @@ config ARCH_mips select ARCH_SUPPORTS_BOTH_ENDIAN select ARCH_DEFAULT_BE + help + The MIPS architecture, as defined by: + http://www.mips.com/ diff --git a/arch/powerpc/config.in b/arch/powerpc/config.in index 9c9c59e..ea57540 100644 --- a/arch/powerpc/config.in +++ b/arch/powerpc/config.in @@ -1,3 +1,6 @@ # powerpc specific configuration file config ARCH_powerpc + help + The PowerPC architecture, as defined by: + http://www.ibm.com/developerworks/eserver/articles/archguide.html diff --git a/arch/sh/config.in b/arch/sh/config.in index 0b476c6..a1eba3a 100644 --- a/arch/sh/config.in +++ b/arch/sh/config.in @@ -3,6 +3,9 @@ config ARCH_sh select ARCH_SUPPORTS_BOTH_ENDIAN select ARCH_DEFAULT_LE + help + The Super-H architecture, as defined by: + http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/ choice bool diff --git a/arch/x86/config.in b/arch/x86/config.in index 56d829b..1a3abaf 100644 --- a/arch/x86/config.in +++ b/arch/x86/config.in @@ -1,3 +1,6 @@ # x86 specific options config ARCH_x86 + help + The x86 architecture, as defined by: + http://www.intel.com/ diff --git a/arch/x86_64/config.in b/arch/x86_64/config.in index 48be3f8..bfe1b94 100644 --- a/arch/x86_64/config.in +++ b/arch/x86_64/config.in @@ -1,3 +1,6 @@ # x86_64 specific options config ARCH_x86_64 + help + The x86_64 architecture, as defined by: + http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html diff --git a/docs/overview.txt b/docs/overview.txt index 0e8abc2..55a7ba7 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -550,12 +550,20 @@ The "config.in" file API: *not* depend on any other config option (EXPERIMENTAL is managed as above). Eg.: config ARCH_arm + + mandatory: + defines an (terse) help entry for this architecture: + Eg.: + config ARCH_arm + help + The ARM architecture. + optional: selects adequate associated config options. Eg.: config ARCH_arm select ARCH_SUPPORTS_BOTH_ENDIAN select ARCH_DEFAULT_LE + help + The ARM architecture. > other target-specific options, at your discretion. Note however that to avoid name-clashing, such options shall be prefixed with "ARCH_%arch%", -- cgit v0.10.2-6-g49f6