Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/msim-con/msim-con.h

    r7de5f12 rc309b18  
    3636#define MSIM_CON_H
    3737
     38#include <adt/circ_buf.h>
    3839#include <async.h>
    3940#include <ddf/driver.h>
     41#include <ddi.h>
     42#include <fibril_synch.h>
     43#include <io/chardev_srv.h>
    4044#include <loc.h>
    4145#include <stdint.h>
     46
     47enum {
     48        msim_con_buf_size = 64
     49};
    4250
    4351/** MSIM console resources */
     
    5159        async_sess_t *client_sess;
    5260        ddf_dev_t *dev;
     61        chardev_srvs_t cds;
    5362        msim_con_res_t res;
     63        irq_pio_range_t irq_range[1];
     64        irq_code_t irq_code;
     65        circ_buf_t cbuf;
     66        uint8_t buf[msim_con_buf_size];
     67        fibril_mutex_t buf_lock;
     68        fibril_condvar_t buf_cv;
     69        ioport8_t *out_reg;
    5470} msim_con_t;
    5571
Note: See TracChangeset for help on using the changeset viewer.