Changeset b9c7425 in mainline for kernel/generic/include/console


Ignore:
Timestamp:
2009-08-20T20:03:41Z (16 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

Location:
kernel/generic/include/console
Files:
2 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. */
  • kernel/generic/include/console/console.h

    re731b0d rb9c7425  
    4444
    4545extern indev_t *stdin_wire(void);
     46extern void stdout_wire(outdev_t *outdev);
    4647extern void console_init(void);
    4748
Note: See TracChangeset for help on using the changeset viewer.