Rev 3665 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3665 | Rev 3742 | ||
---|---|---|---|
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 | /** Dispatch system call */ |
103 | /** Dispatch system call */ |
100 | unative_t syscall_handler(unative_t a1, unative_t a2, unative_t a3, |
104 | unative_t syscall_handler(unative_t a1, unative_t a2, unative_t a3, |
101 | unative_t a4, unative_t a5, unative_t a6, unative_t id) |
105 | unative_t a4, unative_t a5, unative_t a6, unative_t id) |