summaryrefslogtreecommitdiffstats
path: root/arch/score
Commit message (Collapse)AuthorAgeFilesLines
* score: add TIF_NOTIFY_RESUME define in asm/thread_info.hChen Liqin2009-09-171-0/+2
|
* score: make init_thread_union align to THREAD_SIZEChen Liqin2009-08-301-1/+1
|
* score: update files according to review comments.Chen Liqin2009-08-301-115/+97Star
|
* score: add old syscall supportChen Liqin2009-08-303-2/+40
|
* score: add MEMORY_START and MEMORY_SIZE define, to make the code clearChen Liqin2009-08-302-16/+19
|
* score: update inconsistent declare after .c was changedChen Liqin2009-08-309-35/+472
|
* score: remove unused code, add include files in .cChen Liqin2009-08-305-21/+17Star
|
* score: clean up mm/init.cArnd Bergmann2009-06-271-24/+10Star
| | | | | | | | | score does not need multiple zero pages, because it does not suffer from cache aliasing problems, so simplify that code. Also make some functions static and include the appropriate header files. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: make irq.h definitions localArnd Bergmann2009-06-272-20/+23
| | | | | | | | Some internal definitions of the interrupt controller are only needed in irq.c, so move them out of the global irq.h header. Also add proper __iomem annotations for sparse. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: cleanups: dead code, 0 as pointer, shadowed variablesArnd Bergmann2009-06-273-20/+8Star
| | | | | | | | A few smaller issues found by sparse, some code that was never used, two instances of '0' instead of 'NULL' and local variables shadowing another one. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: fix function prototypesArnd Bergmann2009-06-273-12/+17
| | | | | | | Syscalls should return 'long' and be marked as 'asmlinkage'. Functions that are only used in a single file should be 'static'. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: add address space annotationsArnd Bergmann2009-06-274-14/+16
| | | | | | | | Annotate the address space for pointers that are used correctly with __user and __iomem, so that sparse can better warn about incorrect casts. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: add missing #includesArnd Bergmann2009-06-275-1/+10
| | | | | | | | Files that define a global function should #include the header with its declaration to make sure that the prototypes do not diverge. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: move save arg5 and arg6 instruction in front of enable_irqChen Liqin2009-06-221-2/+2
| | | | | | | | | Because enable_irq clobber r8 before arg5 was saved. modified: arch/score/kernel/entry.S Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: add prototypes for wrapped syscallsArnd Bergmann2009-06-191-2/+4
| | | | | | | Every system call should be declared, so this adds missing declarations for the ones we were missing so far. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: remove init_mmArnd Bergmann2009-06-191-2/+0Star
| | | | | | | init_mm is now part of the common code and not provided by the architecture any more. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: add generic sys_call_tableArnd Bergmann2009-06-194-53/+18Star
| | | | | | | | | | | | | | | | | | | This adds back a sys_call_table to the score architecture, which got lost in the conversion to the generic unistd.h file. It's rather worrying that the code got submitted without a system call table, which evidently means that it got zero testing. Since the system call table has a different layout from the old one (which was modeled after the mips-o32 one), I also try to fix the entry.S path to use it. In the modified calling conventions, all system call arguments are passed as registers r4 through r9, instead of r4 through r7 plus stack for the fifth and sixth argument. This matches what other architectures to when they normally pass arguments on the stack. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: remove __{put,get}_user_unknownArnd Bergmann2009-06-191-12/+0Star
| | | | | | | The point of these extern declarations is to provoke a link error, so an architecture must not provide a symbol for them. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: unset __ARCH_WANT_IPC_PARSE_VERSIONArnd Bergmann2009-06-191-1/+0Star
| | | | | | | | This really should not be needed. The change for not changing the IPC code for every new architecture just went into 2.6.31, so we can skip it now. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: update files according to review commentsChen Liqin2009-06-1914-250/+154Star
| | | | | | | | | | | | | | | | | | | | modified: arch/score/include/asm/cacheflush.h modified: arch/score/include/asm/delay.h modified: arch/score/include/asm/errno.h modified: arch/score/include/asm/pgtable-bits.h modified: arch/score/include/asm/pgtable.h modified: arch/score/include/asm/ptrace.h modified: arch/score/include/asm/unistd.h modified: arch/score/kernel/entry.S modified: arch/score/kernel/process.c modified: arch/score/kernel/ptrace.c modified: arch/score/kernel/signal.c modified: arch/score/kernel/sys_score.c modified: arch/score/kernel/traps.c modified: arch/score/mm/cache.c Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* score: Add support for Sunplus S+core architectureChen Liqin2009-06-19126-0/+8566
This is the complete set of new arch Score's files for linux. Score instruction set support 16bits, 32bits and 64bits instruction, Score SOC had been used in game machine and LCD TV. Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>