Ignore:
Timestamp:
2009-03-12T17:46:26Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67a88c3
Parents:
8030f49
Message:

use indev_t
remove console IRQ notification (will be replaced by a proper solution)
remove null_stdout (just initialize stdout to NULL)
remove console_init()
add check_poll()
more understandable message on halt with no polled input device
cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/console/console.h

    r8030f49 rac8e7a9  
    3939#include <console/chardev.h>
    4040
    41 extern chardev_t *stdin;
    42 extern chardev_t *stdout;
     41extern indev_t *stdin;
     42extern outdev_t *stdout;
    4343
    4444extern bool silent;
     
    4949extern void klog_update(void);
    5050
    51 extern uint8_t getc(chardev_t *chardev);
    52 extern uint8_t _getc(chardev_t *chardev);
    53 extern count_t gets(chardev_t *chardev, char *buf, size_t buflen);
     51extern bool check_poll(indev_t *indev);
     52extern uint8_t getc(indev_t *indev);
     53extern uint8_t _getc(indev_t *indev);
     54extern count_t gets(indev_t *indev, char *buf, size_t buflen);
    5455extern void putchar(char c);
    5556
Note: See TracChangeset for help on using the changeset viewer.