Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c0379fc in mainline


Ignore:
Timestamp:
2010-03-31T19:49:32Z (12 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master
Children:
9d491a7
Parents:
5c058d50
Message:

uptime

Files:
6 added
6 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    r5c058d50 rc0379fc  
    7272        $(USPACEDIR)/app/trace/trace \
    7373        $(USPACEDIR)/app/ps/ps \
    74         $(USPACEDIR)/app/top/top
     74        $(USPACEDIR)/app/top/top \
     75        $(USPACEDIR)/app/uptime/uptime
    7576
    7677COMPONENTS = \
  • kernel/Makefile

    r5c058d50 rc0379fc  
    231231        generic/src/sysinfo/sysinfo.c \
    232232        generic/src/ps/ps.c \
    233         generic/src/ps/load.c
     233        generic/src/ps/load.c \
     234        generic/src/ps/uptime.c
    234235
    235236## Kernel console support
  • kernel/generic/include/syscall/syscall.h

    r5c058d50 rc0379fc  
    9191        SYS_PS_GET_TASK_INFO,
    9292        SYS_PS_GET_THREADS,
     93        SYS_PS_GET_UPTIME,
    9394        SYS_PS_GET_LOAD,
    9495
  • kernel/generic/src/syscall/syscall.c

    r5c058d50 rc0379fc  
    5656#include <ps/ps.h>
    5757#include <ps/load.h>
     58#include <ps/uptime.h>
    5859
    5960/** Dispatch system call */
     
    172173        (syshandler_t) sys_ps_get_task_info,
    173174        (syshandler_t) sys_ps_get_threads,
     175        (syshandler_t) sys_ps_get_uptime,
    174176        (syshandler_t) sys_ps_get_load,
    175177       
  • uspace/Makefile

    r5c058d50 rc0379fc  
    4747        app/ps \
    4848        app/top \
     49        app/uptime \
    4950        srv/clip \
    5051        srv/devmap \
  • uspace/lib/c/Makefile

    r5c058d50 rc0379fc  
    9292        generic/stacktrace.c \
    9393        generic/ps.c \
    94         generic/load.c
     94        generic/load.c \
     95        generic/uptime.c
    9596
    9697SOURCES = \
Note: See TracChangeset for help on using the changeset viewer.