Changeset 18b5402c in mainline
- Timestamp:
- 2010-03-25T10:20:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f773206d
- Parents:
- 63f8966
- Files:
-
- 7 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.common
r63f8966 r18b5402c 70 70 $(USPACEDIR)/app/tester/tester \ 71 71 $(USPACEDIR)/app/tetris/tetris \ 72 $(USPACEDIR)/app/trace/trace 72 $(USPACEDIR)/app/trace/trace \ 73 $(USPACEDIR)/app/ps/ps 73 74 74 75 COMPONENTS = \ -
kernel/Makefile
r63f8966 r18b5402c 229 229 generic/src/ipc/event.c \ 230 230 generic/src/security/cap.c \ 231 generic/src/sysinfo/sysinfo.c 231 generic/src/sysinfo/sysinfo.c \ 232 generic/src/ps/ps.c 232 233 233 234 ## Kernel console support -
kernel/generic/include/proc/thread.h
r63f8966 r18b5402c 69 69 #define THREAD_FLAG_NOATTACH (1 << 3) 70 70 71 /** Thread states. */ 72 typedef enum { 73 /** It is an error, if thread is found in this state. */ 74 Invalid, 75 /** State of a thread that is currently executing on some CPU. */ 76 Running, 77 /** Thread in this state is waiting for an event. */ 78 Sleeping, 79 /** State of threads in a run queue. */ 80 Ready, 81 /** Threads are in this state before they are first readied. */ 82 Entering, 83 /** After a thread calls thread_exit(), it is put into Exiting state. */ 84 Exiting, 85 /** Threads that were not detached but exited are Lingering. */ 86 Lingering 87 } state_t; 71 /* We need state_t enum definition */ 72 #include <ps/taskinfo.h> 88 73 89 74 /** Thread structure. There is one per thread. */ -
kernel/generic/include/syscall/syscall.h
r63f8966 r18b5402c 87 87 SYS_DEBUG_ENABLE_CONSOLE, 88 88 SYS_DEBUG_DISABLE_CONSOLE, 89 90 SYS_PS_GET_TASKS, 91 SYS_PS_GET_TASK_INFO, 92 SYS_PS_GET_THREADS, 93 89 94 SYS_IPC_CONNECT_KBOX, 90 95 SYSCALL_END -
kernel/generic/src/syscall/syscall.c
r63f8966 r18b5402c 54 54 #include <console/console.h> 55 55 #include <udebug/udebug.h> 56 #include <ps/ps.h> 56 57 57 58 /** Dispatch system call */ … … 159 160 (syshandler_t) sys_debug_enable_console, 160 161 (syshandler_t) sys_debug_disable_console, 162 163 /* Ps calls */ 164 (syshandler_t) sys_ps_get_tasks, 165 (syshandler_t) sys_ps_get_task_info, 166 (syshandler_t) sys_ps_get_threads, 161 167 162 168 (syshandler_t) sys_ipc_connect_kbox -
uspace/Makefile
r63f8966 r18b5402c 45 45 app/tetris \ 46 46 app/trace \ 47 app/ps \ 47 48 srv/clip \ 48 49 srv/devmap \ -
uspace/lib/c/Makefile
r63f8966 r18b5402c 90 90 generic/vfs/vfs.c \ 91 91 generic/vfs/canonify.c \ 92 generic/stacktrace.c 92 generic/stacktrace.c \ 93 generic/ps.c 93 94 94 95 SOURCES = \
Note:
See TracChangeset
for help on using the changeset viewer.