Rev 1875 | Rev 1888 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1875 | Rev 1880 | ||
|---|---|---|---|
| Line 51... | Line 51... | ||
| 51 | #include <arch/asm.h> |
51 | #include <arch/asm.h> |
| 52 | #include <arch/register.h> |
52 | #include <arch/register.h> |
| 53 | #include <proc/thread.h> |
53 | #include <proc/thread.h> |
| 54 | #include <arch/mm/tlb.h> |
54 | #include <arch/mm/tlb.h> |
| 55 | #include <arch/boot/boot.h> |
55 | #include <arch/boot/boot.h> |
| - | 56 | #include <arch.h> |
|
| 56 | 57 | ||
| 57 | #define KEYBOARD_POLL_PAUSE 50000 /* 50ms */ |
58 | #define KEYBOARD_POLL_PAUSE 50000 /* 50ms */ |
| 58 | 59 | ||
| 59 | /** Initialize kernel console to use framebuffer and keyboard directly. */ |
60 | /** Initialize kernel console to use framebuffer and keyboard directly. */ |
| 60 | void standalone_sparc64_console_init(void) |
61 | void standalone_sparc64_console_init(void) |
| Line 77... | Line 78... | ||
| 77 | * |
78 | * |
| 78 | * @param arg Ignored. |
79 | * @param arg Ignored. |
| 79 | */ |
80 | */ |
| 80 | void kkbdpoll(void *arg) |
81 | void kkbdpoll(void *arg) |
| 81 | { |
82 | { |
| - | 83 | thread_detach(THREAD); |
|
| - | 84 | ||
| 82 | if (!bootinfo.keyboard.addr) |
85 | if (!bootinfo.keyboard.addr) |
| 83 | return; |
86 | return; |
| 84 | 87 | ||
| 85 | while (1) { |
88 | while (1) { |
| 86 | #ifdef CONFIG_Z8530 |
89 | #ifdef CONFIG_Z8530 |