cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

string.h (699B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3#ifndef __ABI_CSKY_STRING_H
      4#define __ABI_CSKY_STRING_H
      5
      6#define __HAVE_ARCH_MEMCMP
      7extern int memcmp(const void *, const void *, __kernel_size_t);
      8
      9#define __HAVE_ARCH_MEMCPY
     10extern void *memcpy(void *, const void *, __kernel_size_t);
     11
     12#define __HAVE_ARCH_MEMMOVE
     13extern void *memmove(void *, const void *, __kernel_size_t);
     14
     15#define __HAVE_ARCH_MEMSET
     16extern void *memset(void *, int,  __kernel_size_t);
     17
     18#define __HAVE_ARCH_STRCMP
     19extern int strcmp(const char *, const char *);
     20
     21#define __HAVE_ARCH_STRCPY
     22extern char *strcpy(char *, const char *);
     23
     24#define __HAVE_ARCH_STRLEN
     25extern __kernel_size_t strlen(const char *);
     26
     27#endif /* __ABI_CSKY_STRING_H */