|
@@ -1,9 +1,11 @@
|
|
#ifndef _SYSTBLS_H
|
|
#ifndef _SYSTBLS_H
|
|
#define _SYSTBLS_H
|
|
#define _SYSTBLS_H
|
|
|
|
|
|
|
|
+#include <linux/signal.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
|
|
+#include <linux/compat.h>
|
|
#include <linux/types.h>
|
|
#include <linux/types.h>
|
|
-#include <linux/signal.h>
|
|
|
|
|
|
+
|
|
#include <asm/utrap.h>
|
|
#include <asm/utrap.h>
|
|
|
|
|
|
asmlinkage unsigned long sys_getpagesize(void);
|
|
asmlinkage unsigned long sys_getpagesize(void);
|
|
@@ -47,6 +49,55 @@ asmlinkage long sparc_memory_ordering(unsigned long model,
|
|
struct pt_regs *regs);
|
|
struct pt_regs *regs);
|
|
asmlinkage void sparc64_set_context(struct pt_regs *regs);
|
|
asmlinkage void sparc64_set_context(struct pt_regs *regs);
|
|
asmlinkage void sparc64_get_context(struct pt_regs *regs);
|
|
asmlinkage void sparc64_get_context(struct pt_regs *regs);
|
|
-
|
|
|
|
|
|
+asmlinkage long sys32_truncate64(const char __user * path,
|
|
|
|
+ unsigned long high,
|
|
|
|
+ unsigned long low);
|
|
|
|
+asmlinkage long sys32_ftruncate64(unsigned int fd,
|
|
|
|
+ unsigned long high,
|
|
|
|
+ unsigned long low);
|
|
|
|
+struct compat_stat64;
|
|
|
|
+asmlinkage long compat_sys_stat64(const char __user * filename,
|
|
|
|
+ struct compat_stat64 __user *statbuf);
|
|
|
|
+asmlinkage long compat_sys_lstat64(const char __user * filename,
|
|
|
|
+ struct compat_stat64 __user *statbuf);
|
|
|
|
+asmlinkage long compat_sys_fstat64(unsigned int fd,
|
|
|
|
+ struct compat_stat64 __user * statbuf);
|
|
|
|
+asmlinkage long compat_sys_fstatat64(unsigned int dfd,
|
|
|
|
+ const char __user *filename,
|
|
|
|
+ struct compat_stat64 __user * statbuf, int flag);
|
|
|
|
+asmlinkage compat_ssize_t sys32_pread64(unsigned int fd,
|
|
|
|
+ char __user *ubuf,
|
|
|
|
+ compat_size_t count,
|
|
|
|
+ unsigned long poshi,
|
|
|
|
+ unsigned long poslo);
|
|
|
|
+asmlinkage compat_ssize_t sys32_pwrite64(unsigned int fd,
|
|
|
|
+ char __user *ubuf,
|
|
|
|
+ compat_size_t count,
|
|
|
|
+ unsigned long poshi,
|
|
|
|
+ unsigned long poslo);
|
|
|
|
+asmlinkage long compat_sys_readahead(int fd,
|
|
|
|
+ unsigned long offhi,
|
|
|
|
+ unsigned long offlo,
|
|
|
|
+ compat_size_t count);
|
|
|
|
+long compat_sys_fadvise64(int fd,
|
|
|
|
+ unsigned long offhi,
|
|
|
|
+ unsigned long offlo,
|
|
|
|
+ compat_size_t len, int advice);
|
|
|
|
+long compat_sys_fadvise64_64(int fd,
|
|
|
|
+ unsigned long offhi, unsigned long offlo,
|
|
|
|
+ unsigned long lenhi, unsigned long lenlo,
|
|
|
|
+ int advice);
|
|
|
|
+long sys32_sync_file_range(unsigned int fd,
|
|
|
|
+ unsigned long off_high, unsigned long off_low,
|
|
|
|
+ unsigned long nb_high, unsigned long nb_low,
|
|
|
|
+ unsigned int flags);
|
|
|
|
+asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
|
|
|
|
+ u32 lenhi, u32 lenlo);
|
|
|
|
+asmlinkage long compat_sys_fstat64(unsigned int fd,
|
|
|
|
+ struct compat_stat64 __user * statbuf);
|
|
|
|
+asmlinkage long compat_sys_fstatat64(unsigned int dfd,
|
|
|
|
+ const char __user *filename,
|
|
|
|
+ struct compat_stat64 __user * statbuf,
|
|
|
|
+ int flag);
|
|
#endif /* CONFIG_SPARC64 */
|
|
#endif /* CONFIG_SPARC64 */
|
|
#endif /* _SYSTBLS_H */
|
|
#endif /* _SYSTBLS_H */
|