Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sys_sh32.c File Reference
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/stat.h>
#include <linux/syscalls.h>
#include <linux/mman.h>
#include <linux/file.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/ipc.h>
#include <asm/cacheflush.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
#include <asm/syscalls.h>

Go to the source code of this file.

Macros

#define SYSCALL_ARG3   "trapa #0x13"
 

Functions

asmlinkage int sys_sh_pipe (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs)
 
asmlinkage ssize_t sys_pread_wrapper (unsigned int fd, char __user *buf, size_t count, long dummy, loff_t pos)
 
asmlinkage ssize_t sys_pwrite_wrapper (unsigned int fd, const char __user *buf, size_t count, long dummy, loff_t pos)
 
asmlinkage int sys_fadvise64_64_wrapper (int fd, u32 offset0, u32 offset1, u32 len0, u32 len1, int advice)
 
int kernel_execve (const char *filename, const char *const argv[], const char *const envp[])
 

Macro Definition Documentation

#define SYSCALL_ARG3   "trapa #0x13"

Definition at line 67 of file sys_sh32.c.

Function Documentation

int kernel_execve ( const char filename,
const char *const  argv[],
const char *const  envp[] 
)

Definition at line 74 of file sys_sh32.c.

asmlinkage int sys_fadvise64_64_wrapper ( int  fd,
u32  offset0,
u32  offset1,
u32  len0,
u32  len1,
int  advice 
)

Definition at line 52 of file sys_sh32.c.

asmlinkage ssize_t sys_pread_wrapper ( unsigned int  fd,
char __user buf,
size_t  count,
long  dummy,
loff_t  pos 
)

Definition at line 40 of file sys_sh32.c.

asmlinkage ssize_t sys_pwrite_wrapper ( unsigned int  fd,
const char __user buf,
size_t  count,
long  dummy,
loff_t  pos 
)

Definition at line 46 of file sys_sh32.c.

asmlinkage int sys_sh_pipe ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 24 of file sys_sh32.c.