Ignore:
Timestamp:
2009-08-20T20:03:41Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc7d44c
Parents:
e731b0d
Message:

prepare outdev_t devices (particularly stdout) to work as repreaters
stop messing with the stdout pointer directly, use stdout_wire() instead

File:
1 edited

Legend:

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

    re731b0d rb9c7425  
    3636#define KERN_CHARDEV_H_
    3737
     38#include <adt/list.h>
    3839#include <arch/types.h>
    3940#include <synch/waitq.h>
     
    7576} outdev_operations_t;
    7677
    77 /** Character input device. */
     78/** Character output device. */
    7879typedef struct outdev {
    7980        char *name;
     
    8182        /** Protects everything below. */
    8283        SPINLOCK_DECLARE(lock);
     84       
     85        /** Fields suitable for multiplexing. */
     86        link_t link;
     87        link_t list;
    8388       
    8489        /** Implementation of outdev operations. */
Note: See TracChangeset for help on using the changeset viewer.