syscalls_new.h
sys/sysproto.h
src/sys/kernel/syscall_new.c
sys/thread.h
ubixos/types.h
sys/_types.h
sys/sysproto.h
sys/signal.h
src/sys/include/ubixos/syscalls_new.h
src/sys/kernel/syscall_new.c
src/sys/include/ubixos/syscalls_new.h
EJUSTRETURN
(-2)
syscall
ERESTART
(-1)
syscall
invalid_call
0x0
PSL_C
0x00000001
syscall
int(*) typedef int(*) functionPTR() () functionPTR
int int __sysctl () __sysctl
int int close () close
int int fcntl () fcntl
int int fstat () fstat
int int getdtablesize () getdtablesize
int int getgid () getgid
int int getpid () getpid
int int gettimeofday_new () gettimeofday_new
int int getuid () getuid
int int ioctl () ioctl
int int issetugid () issetugid
int int mmap () mmap
int int munmap () munmap
int int obreak () obreak
int int pipe () pipe
int int read () read
int int readlink () readlink
int int sigaction () sigaction
int int sigprocmask () sigprocmask
int int sysExit () sysExit
functionPTR functionPTR systemCalls_new[] [] systemCalls_new

Mast System Call List.

syscall
int int totalCalls_new totalCalls_new sizeof(systemCalls_new)/sizeof(functionPTR) syscall

    /*****************************************************************************************
    Copyright(c)2002-2004TheUbixOSProject
    Allrightsreserved.

    Redistributionanduseinsourceandbinaryforms,withorwithoutmodification,are
    permittedprovidedthatthefollowingconditionsaremet:

    Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistof
    conditions,thefollowingdisclaimerandthelistofauthors.Redistributionsinbinary
    formmustreproducetheabovecopyrightnotice,thislistofconditions,thefollowing
    disclaimerandthelistofauthorsinthedocumentationand/orothermaterialsprovided
    withthedistribution.NeitherthenameoftheUbixOSProjectnorthenamesofits
    contributorsmaybeusedtoendorseorpromoteproductsderivedfromthissoftware
    withoutspecificpriorwrittenpermission.

    THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS"ASIS"ANDANY
    EXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOF
    MERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALL
    THECOPYRIGHTOWNERORCONTRIBUTORSBELIABLEFORANYDIRECT,INDIRECT,INCIDENTAL,
    SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENT
    OFSUBSTITUTEGOODSORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)
    HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,OR
    TORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHIS
    SOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.

    $Id: syscalls__new_8h.xml 88 2016-01-12 00:11:29Z reddawg $

    *****************************************************************************************/

    #ifndef_SYSCALLS_NEW_H
    #define_SYSCALLS_NEW_H

    #include<sys/sysproto.h>

    intsysExit();
    intread();
    intgetpid();
    intfcntl();
    intissetugid();
    int__sysctl();
    intpipe();
    intreadlink();
    intgetuid();
    intgetgid();
    intclose();
    intmmap();
    intobreak();
    intsigaction();
    intgetdtablesize();
    intmunmap();
    intsigprocmask();
    intgettimeofday_new();
    intfstat();
    intioctl();

    #defineinvalid_call0x0
    #definePSL_C0x00000001/*carrybit*/
    #defineEJUSTRETURN(-2)/*don'tmodifyregs,justreturn*/
    #defineERESTART(-1)/*restartsyscall*/

    typedefint(*functionPTR)();

    functionPTRsystemCalls_new[]={
    invalid_call,
    sysExit,
    invalid_call,
    read,
    sys_write,
    sys_open,
    close,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    obreak,
    invalid_call,
    invalid_call,
    getpid,
    invalid_call,
    invalid_call,
    invalid_call,
    getuid,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    pipe,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    getgid,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    ioctl,
    invalid_call,
    invalid_call,
    invalid_call,
    readlink,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    munmap,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    setitimer,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    getdtablesize,
    invalid_call,
    invalid_call,
    fcntl,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    gettimeofday_new,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    fstat,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    mmap,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    __sysctl,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    issetugid,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    sigprocmask,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    sigaction,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    invalid_call,
    };

    inttotalCalls_new=sizeof(systemCalls_new)/sizeof(functionPTR);

    #endif

    /***
    END
    ***/