Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
0004  */
0005 
0006 #include <asm/xor.h>
0007 #include <asm/checksum.h>
0008 #include <asm/trap_block.h>
0009 #include <linux/uaccess.h>
0010 #include <asm/atomic.h>
0011 #include <asm/ftrace.h>
0012 #include <asm/cacheflush.h>
0013 #include <asm/oplib.h>
0014 #include <linux/atomic.h>
0015 
0016 void *__memscan_zero(void *, size_t);
0017 void *__memscan_generic(void *, int, size_t);
0018 void *__bzero(void *, size_t);
0019 void VISenter(void); /* Dummy prototype to supress warning */
0020 #undef memcpy
0021 #undef memset
0022 void *memcpy(void *dest, const void *src, size_t n);
0023 void *memset(void *s, int c, size_t n);
0024 typedef int TItype __attribute__((mode(TI)));
0025 TItype __multi3(TItype a, TItype b);