diff options
author | Francesco Chiechi <francesco.chiechi@colibre.it> | 2007-06-02 00:21:38 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-03-06 18:50:46 +0900 |
commit | b5e636231886469fcd47fa4d236fa316c4e15251 (patch) | |
tree | f2ec49396f81f661e1bef150dd4c74de0a55bc83 /kexec/kexec-syscall.h | |
parent | eebc0569dc49693a77821ba716832e8bf833076e (diff) |
kexec-tools: mipsel: mipsel port
Hello,
We developed a patch to port kexec-tools to mips arch and included support for
command line passing through elf boot notes.
We did it for a customer of ours on a specific platform derived from toshiba
tx4938 (so we think it should work at least for tx4938 evaluation board also).
We would like to contribute it in case somebody else needs it or wants to
improve it.
This patch works for us but the assembler part in particular, should be
considered as a starting point because my assembly knowledge is not too deep.
As this is the first time I submit a patch I tried to guess reading tpp.txt if
this is the right way to submit. Please let me know about any mistakes I may
have made.
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-syscall.h')
-rw-r--r-- | kexec/kexec-syscall.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h index 8d93047..5c44110 100644 --- a/kexec/kexec-syscall.h +++ b/kexec/kexec-syscall.h @@ -49,6 +49,9 @@ #ifdef __arm__ #define __NR_kexec_load __NR_SYSCALL_BASE + 347 #endif +#ifdef __MIPSEL__ +#define __NR_kexec_load 4311 +#endif #ifndef __NR_kexec_load #error Unknown processor architecture. Needs a kexec_load syscall number. #endif |