Rev 4055 | Rev 4201 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4055 | Rev 4156 | ||
---|---|---|---|
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 | 43 | ||
44 | extern bool silent; |
44 | extern bool silent; |
45 | 45 | ||
46 | extern void console_init(void); |
46 | extern void console_init(void); |
47 | 47 | ||
48 | extern void klog_init(void); |
48 | extern void klog_init(void); |
49 | extern void klog_update(void); |
49 | extern void klog_update(void); |
50 | 50 | ||
- | 51 | extern bool check_poll(indev_t *indev); |
|
51 | extern uint8_t getc(chardev_t *chardev); |
52 | extern uint8_t getc(indev_t *indev); |
52 | extern uint8_t _getc(chardev_t *chardev); |
53 | extern uint8_t _getc(indev_t *indev); |
53 | extern count_t gets(chardev_t *chardev, char *buf, size_t buflen); |
54 | extern count_t gets(indev_t *indev, char *buf, size_t buflen); |
54 | extern void putchar(char c); |
55 | extern void putchar(char c); |
- | 56 | extern unative_t sys_klog(int fd, const void * buf, size_t count); |
|
55 | 57 | ||
56 | extern void grab_console(void); |
58 | extern void grab_console(void); |
57 | extern void release_console(void); |
59 | extern void release_console(void); |
58 | 60 | ||
- | 61 | extern unative_t sys_debug_enable_console(void); |
|
- | 62 | extern unative_t sys_debug_disable_console(void); |
|
- | 63 | ||
59 | extern void arch_grab_console(void); |
64 | extern void arch_grab_console(void); |
60 | extern void arch_release_console(void); |
65 | extern void arch_release_console(void); |
61 | 66 | ||
62 | #endif /* KERN_CONSOLE_H_ */ |
67 | #endif /* KERN_CONSOLE_H_ */ |
63 | 68 |