aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/lib/uaccess_old.S
Commit message (Collapse)AuthorAge
* microblaze: Fix strncpy_from_user macroMichal Simek2013-02-12
| | | | | | | | | | | Problem happens when len in strncpy_from_user is setup and passing string has len-1 chars + \0 terminated character. In this case was returned incorrect length of the string. It should always retunrs the length of the string (not including the trailing NULL). Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* microblaze: Fix stack usage in PAGE_SIZE copy_tofrom_userMichal Simek2012-03-30
| | | | | | | | | | | If access to user space failed we need to reconstruct stack pointer and restore all register. This patch fixed problem introduces by: "microblaze: Add loop unrolling for PAGE in copy_tofrom_user" (sha1: ebe211254bfa6295f4ab0b33c7c881bdfabbab60) Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Use delay slot in __strnlen_user, __strncpy_userMichal Simek2011-10-14
| | | | | | Use delay slot to speedup if maxlen is zero. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Add loop unrolling for PAGE in copy_tofrom_userMichal Simek2011-10-14
| | | | | | Increase performance by loop unrolling. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Simplify logic for unaligned byte copyingMichal Simek2011-10-14
| | | | | | Save jump instruction for unaligned byte copying. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Change label names - copy_tofrom_userMichal Simek2011-10-14
| | | | | | Change label name to be prepared for loop unrolling. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Separate fixup section definitionMichal Simek2011-10-14
| | | | | | Move fixups below appropriate code. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Change label name in copy_tofrom_userMichal Simek2011-10-14
| | | | | | Use label 0: for zero length copying and fixups. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Support word copying in copy_tofrom_userMichal Simek2010-04-01
| | | | | | | | 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>
* microblaze: Add .type and .size to ASM functionsMichal Simek2010-04-01
| | | | | | Cachegrind analysis need this fix to be able to log asm functions. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_mmu_v2: uaccess MMU updateMichal Simek2009-05-26
Signed-off-by: Michal Simek <monstr@monstr.eu>