Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 2089 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1888
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup genericconsole
29
/** @addtogroup genericconsole
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __CHARDEV_H__
35
#ifndef KERN_CHARDEV_H_
36
#define __CHARDEV_H__
36
#define KERN_CHARDEV_H_
37
 
37
 
38
#include <typedefs.h>
38
#include <typedefs.h>
39
#include <arch/types.h>
39
#include <arch/types.h>
40
#include <synch/waitq.h>
40
#include <synch/waitq.h>
41
#include <synch/spinlock.h>
41
#include <synch/spinlock.h>
Line 69... Line 69...
69
extern void chardev_initialize(char *name,
69
extern void chardev_initialize(char *name,
70
                   chardev_t *chardev,
70
                   chardev_t *chardev,
71
                   chardev_operations_t *op);
71
                   chardev_operations_t *op);
72
extern void chardev_push_character(chardev_t *chardev, uint8_t ch);
72
extern void chardev_push_character(chardev_t *chardev, uint8_t ch);
73
 
73
 
74
#endif /* __CHARDEV_H__ */
74
#endif /* KERN_CHARDEV_H_ */
75
 
75
 
76
 /** @}
76
/** @}
77
 */
77
 */
78
 
-