Rev 3424 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3424 | Rev 4377 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #define KERN_CONSOLE_H_ |
36 | #define KERN_CONSOLE_H_ |
37 | 37 | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
39 | #include <console/chardev.h> |
39 | #include <console/chardev.h> |
40 | 40 | ||
41 | extern chardev_t *stdin; |
41 | extern indev_t *stdin; |
42 | extern chardev_t *stdout; |
42 | extern outdev_t *stdout; |
- | 43 | extern bool silent; |
|
- | 44 | ||
- | 45 | extern indev_t *stdin_wire(void); |
|
- | 46 | extern void console_init(void); |
|
43 | 47 | ||
44 | extern void klog_init(void); |
48 | extern void klog_init(void); |
45 | extern void klog_update(void); |
49 | extern void klog_update(void); |
46 | 50 | ||
47 | extern uint8_t getc(chardev_t *chardev); |
51 | extern wchar_t getc(indev_t *indev); |
48 | uint8_t _getc(chardev_t *chardev); |
52 | extern count_t gets(indev_t *indev, char *buf, size_t buflen); |
49 | extern count_t gets(chardev_t *chardev, char *buf, size_t buflen); |
53 | extern unative_t sys_klog(int fd, const void *buf, size_t size); |
- | 54 | ||
50 | extern void putchar(char c); |
55 | extern void grab_console(void); |
- | 56 | extern void release_console(void); |
|
- | 57 | ||
- | 58 | extern unative_t sys_debug_enable_console(void); |
|
- | 59 | extern unative_t sys_debug_disable_console(void); |
|
51 | 60 | ||
52 | extern void arch_grab_console(void); |
61 | extern void arch_grab_console(void); |
53 | extern void arch_release_console(void); |
62 | extern void arch_release_console(void); |
54 | 63 | ||
55 | #endif /* KERN_CONSOLE_H_ */ |
64 | #endif /* KERN_CONSOLE_H_ */ |