tmp_suning_uos_patched/include/asm-blackfin
Mike Frysinger 0931ce8439 Blackfin arch: fix some bugs in lib/string.h functions found by our string testing modules
- use ints for the return value rather than char since we actually return
   an int and we dont want it improperly being sign extended during the reload
   http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3525

 - if src is shorter than the requested number of copy bytes, we need to null
   pad the rest
   http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3524

 - mark these as __volatile__ and add memory to the clobber list so gcc does
   not optimize buffers around on us we may be using

 - rewrite asm code to be readable/maintainable

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2007-09-12 16:30:15 +08:00
..
mach-bf527 Blackfin arch: update blackfin header files to latest one in VDSP. 2007-05-21 09:50:23 -07:00
mach-bf533 Blackfin arch: Add Support for Peripheral PortMux and resouce allocation 2007-07-12 12:32:52 +08:00
mach-bf537 Blackfin arch: Add Support for Peripheral PortMux and resouce allocation 2007-07-12 12:32:52 +08:00
mach-bf548 Blackfin arch: add BF54x I2C/TWI TWI0 driver support 2007-07-25 16:58:03 +08:00
mach-bf561 Blackfin arch: fix the aliased write macros 2007-08-05 17:21:55 +08:00
mach-common Blackfin arch: Start untangling the CPLB handling code. 2007-07-12 16:25:29 +08:00
a.out.h blackfin architecture 2007-05-07 12:12:58 -07:00
atomic.h blackfin architecture 2007-05-07 12:12:58 -07:00
auxvec.h blackfin architecture 2007-05-07 12:12:58 -07:00
bf5xx_timers.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin5xx_spi.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin_simple_timer.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin_sport.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin-global.h Blackfin arch: Initialize the exception vectors early in the boot process 2007-07-25 14:44:49 +08:00
bitops.h blackfin architecture 2007-05-07 12:12:58 -07:00
blackfin.h Blackfin arch: update ANOMALY handling 2007-06-21 11:34:16 +08:00
bug.h blackfin architecture 2007-05-07 12:12:58 -07:00
bugs.h blackfin architecture 2007-05-07 12:12:58 -07:00
byteorder.h blackfin architecture 2007-05-07 12:12:58 -07:00
cache.h blackfin architecture 2007-05-07 12:12:58 -07:00
cacheflush.h blackfin architecture 2007-05-07 12:12:58 -07:00
checksum.h blackfin architecture 2007-05-07 12:12:58 -07:00
cplb.h blackfin architecture 2007-05-07 12:12:58 -07:00
cplbinit.h Blackfin arch: Start untangling the CPLB handling code. 2007-07-12 16:25:29 +08:00
cpumask.h blackfin architecture 2007-05-07 12:12:58 -07:00
cputime.h blackfin architecture 2007-05-07 12:12:58 -07:00
current.h blackfin architecture 2007-05-07 12:12:58 -07:00
delay.h blackfin architecture 2007-05-07 12:12:58 -07:00
device.h blackfin architecture 2007-05-07 12:12:58 -07:00
div64.h blackfin architecture 2007-05-07 12:12:58 -07:00
dma-mapping.h Blackfin arch: Add definition of dma_mapping_error 2007-06-21 11:34:16 +08:00
dma.h blackfin architecture 2007-05-07 12:12:58 -07:00
dpmc.h blackfin architecture 2007-05-07 12:12:58 -07:00
elf.h blackfin architecture 2007-05-07 12:12:58 -07:00
emergency-restart.h blackfin architecture 2007-05-07 12:12:58 -07:00
entry.h blackfin architecture 2007-05-07 12:12:58 -07:00
errno.h blackfin architecture 2007-05-07 12:12:58 -07:00
fb.h fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
fcntl.h blackfin architecture 2007-05-07 12:12:58 -07:00
fixed_code.h Blackfin arch: defines and provides entry points for certain user space functions at fixed addresses 2007-06-21 11:34:16 +08:00
flat.h blackfin architecture 2007-05-07 12:12:58 -07:00
futex.h blackfin architecture 2007-05-07 12:12:58 -07:00
gpio.h Blackfin arch: Add Support for Peripheral PortMux and resouce allocation 2007-07-12 12:32:52 +08:00
hardirq.h Blackfin arch: Enable BF54x PIN/GPIO interrupts 2007-07-12 16:17:18 +08:00
hw_irq.h blackfin architecture 2007-05-07 12:12:58 -07:00
ide.h blackfin architecture 2007-05-07 12:12:58 -07:00
io.h Blackfin arch: add proper const volatile to addr argument to the read functions 2007-06-21 11:34:16 +08:00
ioctl.h blackfin architecture 2007-05-07 12:12:58 -07:00
ioctls.h blackfin architecture 2007-05-07 12:12:58 -07:00
ipc.h blackfin architecture 2007-05-07 12:12:58 -07:00
ipcbuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
irq_handler.h blackfin architecture 2007-05-07 12:12:58 -07:00
irq_regs.h blackfin architecture 2007-05-07 12:12:58 -07:00
irq.h blackfin architecture 2007-05-07 12:12:58 -07:00
Kbuild Blackfin arch: defines and provides entry points for certain user space functions at fixed addresses 2007-06-21 11:34:16 +08:00
kdebug.h blackfin architecture 2007-05-07 12:12:58 -07:00
kgdb.h Blackfin arch: kgdb specific code 2007-06-29 16:35:17 +08:00
kmap_types.h blackfin architecture 2007-05-07 12:12:58 -07:00
l1layout.h blackfin architecture 2007-05-07 12:12:58 -07:00
linkage.h blackfin architecture 2007-05-07 12:12:58 -07:00
local.h blackfin architecture 2007-05-07 12:12:58 -07:00
mem_map.h blackfin architecture 2007-05-07 12:12:58 -07:00
mman.h Blackfin arch: clean up some coding style issues 2007-07-12 17:26:31 +08:00
mmu_context.h blackfin architecture 2007-05-07 12:12:58 -07:00
mmu.h blackfin architecture 2007-05-07 12:12:58 -07:00
module.h blackfin architecture 2007-05-07 12:12:58 -07:00
msgbuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
mutex.h blackfin architecture 2007-05-07 12:12:58 -07:00
namei.h blackfin architecture 2007-05-07 12:12:58 -07:00
page_offset.h blackfin architecture 2007-05-07 12:12:58 -07:00
page.h Blackfin arch: use PAGE_SIZE when doing aligns rather than hardcoded values 2007-07-12 12:20:20 +08:00
param.h blackfin architecture 2007-05-07 12:12:58 -07:00
pci.h blackfin architecture 2007-05-07 12:12:58 -07:00
percpu.h blackfin architecture 2007-05-07 12:12:58 -07:00
pgalloc.h blackfin architecture 2007-05-07 12:12:58 -07:00
pgtable.h blackfin architecture 2007-05-07 12:12:58 -07:00
poll.h blackfin architecture 2007-05-07 12:12:58 -07:00
portmux.h Blackfin arch: Add Support for Peripheral PortMux and resouce allocation 2007-07-12 12:32:52 +08:00
posix_types.h blackfin architecture 2007-05-07 12:12:58 -07:00
processor.h Blackfin arch: Add proper -mcpu option according to the cpu and silicon revision configuration 2007-06-25 18:04:12 +08:00
ptrace.h blackfin architecture 2007-05-07 12:12:58 -07:00
resource.h blackfin architecture 2007-05-07 12:12:58 -07:00
scatterlist.h blackfin architecture 2007-05-07 12:12:58 -07:00
sections.h blackfin architecture 2007-05-07 12:12:58 -07:00
segment.h blackfin architecture 2007-05-07 12:12:58 -07:00
semaphore-helper.h blackfin architecture 2007-05-07 12:12:58 -07:00
semaphore.h blackfin architecture 2007-05-07 12:12:58 -07:00
sembuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
setup.h blackfin architecture 2007-05-07 12:12:58 -07:00
shmbuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
shmparam.h blackfin architecture 2007-05-07 12:12:58 -07:00
sigcontext.h blackfin architecture 2007-05-07 12:12:58 -07:00
siginfo.h blackfin architecture 2007-05-07 12:12:58 -07:00
signal.h blackfin architecture 2007-05-07 12:12:58 -07:00
socket.h blackfin architecture 2007-05-07 12:12:58 -07:00
sockios.h blackfin architecture 2007-05-07 12:12:58 -07:00
spinlock.h blackfin architecture 2007-05-07 12:12:58 -07:00
stat.h blackfin architecture 2007-05-07 12:12:58 -07:00
statfs.h blackfin architecture 2007-05-07 12:12:58 -07:00
string.h Blackfin arch: fix some bugs in lib/string.h functions found by our string testing modules 2007-09-12 16:30:15 +08:00
system.h rename thread_info to stack 2007-05-09 12:30:56 -07:00
termbits.h lots-of-architectures: enable arbitary speed tty support 2007-07-10 17:51:13 -07:00
termios.h blackfin architecture 2007-05-07 12:12:58 -07:00
thread_info.h remove unused TIF_NOTIFY_RESUME flag 2007-07-31 15:39:38 -07:00
timex.h blackfin architecture 2007-05-07 12:12:58 -07:00
tlb.h blackfin architecture 2007-05-07 12:12:58 -07:00
tlbflush.h blackfin architecture 2007-05-07 12:12:58 -07:00
topology.h blackfin architecture 2007-05-07 12:12:58 -07:00
trace.h Blackfin arch: Clean up trace buffer handling, No major functional changes. 2007-06-21 16:34:08 +08:00
traps.h blackfin architecture 2007-05-07 12:12:58 -07:00
types.h blackfin architecture 2007-05-07 12:12:58 -07:00
uaccess.h Blackfin arch: Change NO_ACCESS_CHECK to ACCESS_CHECK 2007-05-21 09:50:23 -07:00
ucontext.h blackfin architecture 2007-05-07 12:12:58 -07:00
unaligned.h blackfin architecture 2007-05-07 12:12:58 -07:00
unistd.h Blackfin arch: move cond_syscall() behind __KERNEL__ like all other architectures 2007-06-21 11:34:16 +08:00
user.h blackfin architecture 2007-05-07 12:12:58 -07:00