Changeset c47e1a8 in mainline for kernel/generic/include/console/chardev.h
- Timestamp:
- 2010-05-21T07:50:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d51ee2b
- Parents:
- cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/chardev.h
rcf8cc36 rc47e1a8 37 37 38 38 #include <adt/list.h> 39 #include < arch/types.h>39 #include <typedefs.h> 40 40 #include <synch/waitq.h> 41 41 #include <synch/spinlock.h> … … 53 53 /** Character input device. */ 54 54 typedef struct indev { 55 c har *name;55 const char *name; 56 56 waitq_t wq; 57 57 … … 81 81 /** Character output device. */ 82 82 typedef struct outdev { 83 c har *name;83 const char *name; 84 84 85 85 /** Protects everything below. */ … … 95 95 } outdev_t; 96 96 97 extern void indev_initialize(c har *name, indev_t *indev,97 extern void indev_initialize(const char *name, indev_t *indev, 98 98 indev_operations_t *op); 99 99 extern void indev_push_character(indev_t *indev, wchar_t ch); 100 100 extern wchar_t indev_pop_character(indev_t *indev); 101 101 102 extern void outdev_initialize(c har *name, outdev_t *outdev,102 extern void outdev_initialize(const char *name, outdev_t *outdev, 103 103 outdev_operations_t *op); 104 104
Note:
See TracChangeset
for help on using the changeset viewer.