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/bdsh/input.c (working copy) @@ -166,6 +166,7 @@ printf("%s", usr->prompt); read_line(line, INPUT_MAX); + //strcpy(line, "/sbin/tester"); len = strlen(line); /* Make sure we don't have rubbish or a C/R happy user */ if (len == 0 || line[0] == '\n') Index: uspace/app/init/init.c =================================================================== --- uspace/app/init/init.c (revision 3489) +++ uspace/app/init/init.c (working copy) @@ -105,7 +105,7 @@ } // FIXME: spawn("/sbin/pci"); - //spawn("/sbin/fb"); + spawn("/sbin/fb"); spawn("/sbin/kbd"); spawn("/sbin/console"); Index: boot/arch/sparc64/loader/asm.S =================================================================== --- boot/arch/sparc64/loader/asm.S (revision 3488) +++ boot/arch/sparc64/loader/asm.S (working copy) @@ -113,7 +113,6 @@ * or not is decided according to the value of the ver.impl bits * in the Version register. */ - sethi 0x40000, %g0 ! the lowest/greatest value of ver.impl for US3 #define FIRST_US3_CPU 0x14 #define LAST_US3_CPU 0x19