Barrelfish
Functions
syscall_arch.h File Reference

User-side system call implementation. More...

Functions

struct sysret syscall (uint64_t num, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5, uint64_t arg6, uint64_t arg7, uint64_t arg8, uint64_t arg9, uint64_t arg10, uint64_t arg11)
 the actual syscall function More...
 

Detailed Description

User-side system call implementation.

Function Documentation

struct sysret syscall ( uint64_t  num,
uint64_t  arg1,
uint64_t  arg2,
uint64_t  arg3,
uint64_t  arg4,
uint64_t  arg5,
uint64_t  arg6,
uint64_t  arg7,
uint64_t  arg8,
uint64_t  arg9,
uint64_t  arg10,
uint64_t  arg11 
)

the actual syscall function

the arguments are left in the registers x0-x11 the return value is stored in x0 and x1 when returning from the syscall