diff --git a/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/uaccess_32.h b/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/uaccess_32.h new file mode 100644 index 0000000000..d2d1d7c99b --- /dev/null +++ b/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/uaccess_32.h @@ -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_ */ diff --git a/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/uaccess_64.h b/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/uaccess_64.h new file mode 100644 index 0000000000..30218e162b --- /dev/null +++ b/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/uaccess_64.h @@ -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_ */