Rev 4042 | Rev 4147 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4042 | Rev 4087 | ||
---|---|---|---|
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); |
55 | 56 | ||
56 | extern void grab_console(void); |
57 | extern void grab_console(void); |
57 | extern void release_console(void); |
58 | extern void release_console(void); |
58 | 59 |