~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/unicore32/include/asm/string.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * linux/arch/unicore32/include/asm/string.h
 
3
 *
 
4
 * Code specific to PKUnity SoC and UniCore ISA
 
5
 *
 
6
 * Copyright (C) 2001-2010 GUAN Xue-tao
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License version 2 as
 
10
 * published by the Free Software Foundation.
 
11
 */
 
12
#ifndef __UNICORE_STRING_H__
 
13
#define __UNICORE_STRING_H__
 
14
 
 
15
/*
 
16
 * We don't do inline string functions, since the
 
17
 * optimised inline asm versions are not small.
 
18
 */
 
19
 
 
20
#define __HAVE_ARCH_STRRCHR
 
21
extern char *strrchr(const char *s, int c);
 
22
 
 
23
#define __HAVE_ARCH_STRCHR
 
24
extern char *strchr(const char *s, int c);
 
25
 
 
26
#define __HAVE_ARCH_MEMCPY
 
27
extern void *memcpy(void *, const void *, __kernel_size_t);
 
28
 
 
29
#define __HAVE_ARCH_MEMMOVE
 
30
extern void *memmove(void *, const void *, __kernel_size_t);
 
31
 
 
32
#define __HAVE_ARCH_MEMCHR
 
33
extern void *memchr(const void *, int, __kernel_size_t);
 
34
 
 
35
#define __HAVE_ARCH_MEMSET
 
36
extern void *memset(void *, int, __kernel_size_t);
 
37
 
 
38
#endif