Rev 3674 | Rev 4341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3674 | Rev 4337 | ||
|---|---|---|---|
| Line 90... | Line 90... | ||
| 90 | } |
90 | } |
| 91 | 91 | ||
| 92 | /** Tell kernel to get keyboard/console access again */ |
92 | /** Tell kernel to get keyboard/console access again */ |
| 93 | static unative_t sys_debug_enable_console(void) |
93 | static unative_t sys_debug_enable_console(void) |
| 94 | { |
94 | { |
| - | 95 | #ifdef CONFIG_KCONSOLE |
|
| 95 | arch_grab_console(); |
96 | arch_grab_console(); |
| 96 | return 0; |
97 | return true; |
| - | 98 | #else |
|
| - | 99 | return false; |
|
| - | 100 | #endif |
|
| 97 | } |
101 | } |
| 98 | 102 | ||
| 99 | /** Print a hex integer into klog */ |
103 | /** Print a hex integer into klog */ |
| 100 | static unative_t sys_debug_putint(unative_t i) |
104 | static unative_t sys_debug_putint(unative_t i) |
| 101 | { |
105 | { |