Michal Simek
cb5edfe3e5
microblaze: Use delay slot in __strnlen_user, __strncpy_user
...
Use delay slot to speedup if maxlen is zero.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:24:34 +02:00
Michal Simek
ebe211254b
microblaze: Add loop unrolling for PAGE in copy_tofrom_user
...
Increase performance by loop unrolling.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:24:26 +02:00
Michal Simek
782d491fc2
microblaze: Simplify logic for unaligned byte copying
...
Save jump instruction for unaligned byte copying.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:24:25 +02:00
Michal Simek
c83858b3e6
microblaze: Change label names - copy_tofrom_user
...
Change label name to be prepared for loop unrolling.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:24:22 +02:00
Michal Simek
eedac7914d
microblaze: Separate fixup section definition
...
Move fixups below appropriate code.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:24:22 +02:00
Michal Simek
9b133f8d87
microblaze: Change label name in copy_tofrom_user
...
Use label 0: for zero length copying and fixups.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-10-14 12:24:21 +02:00
Michal Simek
ca3865bae5
microblaze: Support word copying in copy_tofrom_user
...
Word copying is used only for aligned addresses.
Here is space for improving to use any better copying technique.
Look at memcpy implementation.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-01 08:38:25 +02:00
Michal Simek
13851966da
microblaze: Add .type and .size to ASM functions
...
Cachegrind analysis need this fix to be able to log asm functions.
Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-04-01 08:38:24 +02:00
Michal Simek
0d6de95326
microblaze_mmu_v2: uaccess MMU update
...
Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-05-26 16:45:20 +02:00