Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldchangelog/action.php on line 8 Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldindex/action.php on line 0 Deprecated: Function split() is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 154 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 453 Index: kernel/generic/src/main/kinit.c =================================================================== --- kernel/generic/src/main/kinit.c (revision 3488) +++ kernel/generic/src/main/kinit.c (working copy) @@ -196,12 +196,14 @@ /* * Run user tasks with reasonable delays */ + #if 0 for (i = 0; i < init.cnt; i++) { if (programs[i].task != NULL) { thread_usleep(50000); program_ready(&programs[i]); } } + #endif if (!stdin) { while (1) { Index: kernel/generic/src/console/kconsole.c =================================================================== --- kernel/generic/src/console/kconsole.c (revision 3488) +++ kernel/generic/src/console/kconsole.c (working copy) @@ -417,8 +417,10 @@ } while (true) { + printf("%s", "pred readline"); cmdline = clever_readline((char *) prompt, stdin); len = strlen(cmdline); + printf("cmdline = %s", cmdline); if (!len) continue; cmd_info = parse_cmdline(cmdline, len); Index: kernel/arch/sparc64/src/drivers/simics_output.c =================================================================== --- kernel/arch/sparc64/src/drivers/simics_output.c (revision 3488) +++ kernel/arch/sparc64/src/drivers/simics_output.c (working copy) @@ -54,12 +54,14 @@ static void simics_putchar(struct chardev * cd, char c); +static char dummy_getchar(chardev_t *dev); + /** character device operations - only writing will be supported */ static chardev_operations_t simics_stdout_ops = { .suspend = NULL, .resume = NULL, .write = simics_putchar, - .read = NULL + .read = dummy_getchar }; /** Simics character device */ @@ -101,6 +103,18 @@ spinlock_unlock(&simics_buf_lock); } +static char dummy_getchar(chardev_t *dev) +{ + const char *CMD = "ls"; + static int i = 0; + + if (i < 2) { + return CMD[i++]; + } else { + return '\n'; + } +} + /** Initializes the Simics output. * * Passes the address of the buffer to the Simics' Python script and @@ -136,6 +150,14 @@ /* redirect kernel output */ chardev_initialize("simics_output", &simics_stdout, &simics_stdout_ops); stdout = &simics_stdout; + stdin = &simics_stdout; + + { + int j; + for (j = 0; i < 10; i++) { + simics_stdout.wq.missed_wakeups = 10; + } + } } /** @} Index: uspace/app/bdsh/input.c =================================================================== --- uspace/app/bdsh/input.c (revision 3488) +++ uspace/app/