| To: | linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH] QEMU - Add support for little endian mips |
| From: | Aurelien Jarno <aurelien@aurel32.net> |
| Date: | Wed, 27 Sep 2006 23:07:25 +0200 |
| Cc: | linux-mips@linux-mips.org |
| Mail-followup-to: | Aurelien Jarno <aurelien@aurel32.net>, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
This very small patch adds support for little endian on the virtual QEMU
mips platform. The status of this platform is the same as the big endian
one, ie it is possible to boot a system with init=/bin/sh.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
i
diff -Nurd linux-2.6.18.orig/arch/mips/Kconfig linux-2.6.18/arch/mips/Kconfig
--- linux-2.6.18.orig/arch/mips/Kconfig 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18/arch/mips/Kconfig 2006-09-27 23:00:12.124563754 +0200
@@ -557,6 +557,7 @@
select SYS_HAS_CPU_MIPS32_R1
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_BIG_ENDIAN
+ select SYS_SUPPORTS_LITTLE_ENDIAN
select ARCH_SPARSEMEM_ENABLE
help
Qemu is a software emulator which among other architectures also
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: How to emulate lw/sw instruction by lb/sb instruction, Jim Wilson |
|---|---|
| Next by Date: | Re: oprofile configure?, Jim Wilson |
| Previous by Thread: | wrong SP restored after DBE exception, Dave Johnson |
| Next by Thread: | Re: [PATCH] QEMU - Add support for little endian mips, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |