lx_emul: shadow asm/uaccess_32/64.h

Issue #4450
This commit is contained in:
Alexander Boettcher 2022-03-14 11:34:08 +01:00 committed by Christian Helmuth
parent cdf1b39c5e
commit 7c3f010cd6
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
/*
* \brief Shadow copy of asm/uaccess_32.h
* \author Alexander Boettcher
* \date 2022-02-17
*/
#ifndef _ASM__UACCESS_32_H_
#define _ASM__UACCESS_32_H_
unsigned long raw_copy_from_user(void *to, const void * from, unsigned long n);
unsigned long raw_copy_to_user(void *to, const void *from, unsigned long n);
#endif /* _ASM__UACCESS_32_H_ */

View File

@ -0,0 +1,13 @@
/*
* \brief Shadow copy of asm/uaccess_64.h
* \author Alexander Boettcher
* \date 2022-02-17
*/
#ifndef _ASM__UACCESS_64_H_
#define _ASM__UACCESS_64_H_
unsigned long raw_copy_from_user(void *to, const void * from, unsigned long n);
unsigned long raw_copy_to_user(void *to, const void *from, unsigned long n);
#endif /* _ASM__UACCESS_64_H_ */