Ignore:
Timestamp:
Jan 29, 2018, 5:40:34 PM (6 years ago)
Author:
alain
Message:

Introduce sys_fg() , sys_display() , sys_wait() syscalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/shared_syscalls.h

    r416 r421  
    7474        SYS_EXEC           = 37,
    7575        SYS_STAT           = 38,     
    76         SYS_TRACE          = 39,
     76        SYS_WAIT           = 39,
    7777
    7878    SYS_GET_CONFIG     = 40,
    7979    SYS_GET_CORE       = 41,
    8080    SYS_GET_CYCLE      = 42,
    81     SYS_GET_SCHED      = 43,
    82     SYS_PANIC          = 44,
    83         SYS_SLEEP          = 45,
    84         SYS_WAKEUP         = 46,
    85 
    86         SYSCALLS_NR        = 47,
     81    SYS_DISPLAY        = 43,
     82    SYS_UNDEFINED_44   = 44,   ///
     83        SYS_THREAD_SLEEP   = 45,
     84        SYS_THREAD_WAKEUP  = 46,
     85    SYS_TRACE          = 47,
     86    SYS_FG             = 48,
     87    SYS_UNDEFINED_49   = 49,   ///
     88
     89        SYSCALLS_NR        = 50,
    8790};
    8891
     
    312315trace_operation_t;
    313316
     317/*******************************************************************************************
     318 * This enum defines the type of structure for the "display" syscall.
     319 ******************************************************************************************/
     320
     321typedef enum
     322{
     323    DISPLAY_STRING  = 0,
     324    DISPLAY_VMM     = 1,
     325    DISPLAY_SCHED   = 2,
     326    DISPLAY_PROCESS = 3,
     327    DISPLAY_VFS     = 4,
     328    DISPLAY_CHDEV   = 5,
     329}
     330display_type_t;
     331
    314332/******************************************************************************************
    315333 * This structure define the informations associated to a file descriptor,
     
    368386struct timezone
    369387{
    370     int          tz_minuteswest;            /*8 of Greenwich                              */
     388    int          tz_minuteswest;            /*! of Greenwich                              */
    371389    int          tz_dsttime;                /*! type of dst correction to apply           */
    372390};
Note: See TracChangeset for help on using the changeset viewer.