Rev 1666 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1666 | Rev 1695 | ||
|---|---|---|---|
| Line 76... | Line 76... | ||
| 76 | }; |
76 | }; |
| 77 | 77 | ||
| 78 | static int cmd_continue(cmd_arg_t *argv); |
78 | static int cmd_continue(cmd_arg_t *argv); |
| 79 | static cmd_info_t continue_info = { |
79 | static cmd_info_t continue_info = { |
| 80 | .name = "continue", |
80 | .name = "continue", |
| 81 | .description ="Return console back to userspace", |
81 | .description ="Return console back to userspace.", |
| 82 | .func = cmd_continue, |
82 | .func = cmd_continue, |
| 83 | .argc = 0 |
83 | .argc = 0 |
| 84 | }; |
84 | }; |
| 85 | 85 | ||
| 86 | /** Data and methods for 'description' command. */ |
86 | /** Data and methods for 'description' command. */ |
| Line 260... | Line 260... | ||
| 260 | }; |
260 | }; |
| 261 | 261 | ||
| 262 | static int cmd_threads(cmd_arg_t *argv); |
262 | static int cmd_threads(cmd_arg_t *argv); |
| 263 | static cmd_info_t threads_info = { |
263 | static cmd_info_t threads_info = { |
| 264 | .name = "threads", |
264 | .name = "threads", |
| 265 | .description = "List all threads", |
265 | .description = "List all threads.", |
| 266 | .func = cmd_threads, |
266 | .func = cmd_threads, |
| 267 | .argc = 0 |
267 | .argc = 0 |
| 268 | }; |
268 | }; |
| 269 | 269 | ||
| 270 | static int cmd_tasks(cmd_arg_t *argv); |
270 | static int cmd_tasks(cmd_arg_t *argv); |
| 271 | static cmd_info_t tasks_info = { |
271 | static cmd_info_t tasks_info = { |
| 272 | .name = "tasks", |
272 | .name = "tasks", |
| 273 | .description = "List all tasks", |
273 | .description = "List all tasks.", |
| 274 | .func = cmd_tasks, |
274 | .func = cmd_tasks, |
| 275 | .argc = 0 |
275 | .argc = 0 |
| 276 | }; |
276 | }; |
| 277 | 277 | ||
| 278 | 278 | ||
| 279 | static int cmd_sched(cmd_arg_t *argv); |
279 | static int cmd_sched(cmd_arg_t *argv); |
| 280 | static cmd_info_t sched_info = { |
280 | static cmd_info_t sched_info = { |
| 281 | .name = "scheduler", |
281 | .name = "scheduler", |
| 282 | .description = "List all scheduler information", |
282 | .description = "List all scheduler information.", |
| 283 | .func = cmd_sched, |
283 | .func = cmd_sched, |
| 284 | .argc = 0 |
284 | .argc = 0 |
| 285 | }; |
285 | }; |
| 286 | 286 | ||
| 287 | static int cmd_slabs(cmd_arg_t *argv); |
287 | static int cmd_slabs(cmd_arg_t *argv); |
| 288 | static cmd_info_t slabs_info = { |
288 | static cmd_info_t slabs_info = { |
| 289 | .name = "slabs", |
289 | .name = "slabs", |
| 290 | .description = "List SLAB caches.", |
290 | .description = "List slab caches.", |
| 291 | .func = cmd_slabs, |
291 | .func = cmd_slabs, |
| 292 | .argc = 0 |
292 | .argc = 0 |
| 293 | }; |
293 | }; |
| 294 | 294 | ||
| 295 | /** Data and methods for 'zones' command */ |
295 | /** Data and methods for 'zones' command */ |
| Line 306... | Line 306... | ||
| 306 | static cmd_arg_t ipc_task_argv = { |
306 | static cmd_arg_t ipc_task_argv = { |
| 307 | .type = ARG_TYPE_INT, |
307 | .type = ARG_TYPE_INT, |
| 308 | }; |
308 | }; |
| 309 | static cmd_info_t ipc_task_info = { |
309 | static cmd_info_t ipc_task_info = { |
| 310 | .name = "ipc_task", |
310 | .name = "ipc_task", |
| 311 | .description = "ipc_task <taskid> Show IPC information of given task", |
311 | .description = "ipc_task <taskid> Show IPC information of given task.", |
| 312 | .func = cmd_ipc_task, |
312 | .func = cmd_ipc_task, |
| 313 | .argc = 1, |
313 | .argc = 1, |
| 314 | .argv = &ipc_task_argv |
314 | .argv = &ipc_task_argv |
| 315 | }; |
315 | }; |
| 316 | 316 | ||
| Line 792... | Line 792... | ||
| 792 | * |
792 | * |
| 793 | * return Always 1. |
793 | * return Always 1. |
| 794 | */ |
794 | */ |
| 795 | int cmd_continue(cmd_arg_t *argv) |
795 | int cmd_continue(cmd_arg_t *argv) |
| 796 | { |
796 | { |
| - | 797 | printf("The kernel will now relinquish the console.\n"); |
|
| - | 798 | printf("Use userspace controls to redraw the screen.\n"); |
|
| 797 | arch_release_console(); |
799 | arch_release_console(); |
| 798 | return 1; |
800 | return 1; |
| 799 | } |
801 | } |