/kernel/trunk/generic/include/console/chardev.h |
---|
52,7 → 52,7 |
char *name; |
waitq_t wq; |
spinlock_t lock; /**< Protects everything below. */ |
SPINLOCK_DECLARE(lock); /**< Protects everything below. */ |
__u8 buffer[CHARDEV_BUFLEN]; |
count_t counter; |
chardev_operations_t *op; /**< Implementation of chardev operations. */ |
/kernel/trunk/generic/include/console/kconsole.h |
---|
55,7 → 55,7 |
/** Structure representing one kconsole command. */ |
struct cmd_info { |
link_t link; /**< Command list link. */ |
spinlock_t lock; /**< This lock protects everything below. */ |
SPINLOCK_DECLARE(lock); /**< This lock protects everything below. */ |
const char *name; /**< Command name. */ |
const char *description; /**< Textual description. */ |
int (* func)(cmd_arg_t *); /**< Function implementing the command. */ |