Ignore:
File:
1 edited

Legend:

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

    r7aa94304 r59953b57  
    3838#include <async.h>
    3939#include <ddf/driver.h>
     40#include <io/chardev_srv.h>
    4041#include <loc.h>
    4142#include <stdint.h>
     43
     44#include "niagara_buf.h"
     45
     46/** Sun4v console resources */
     47typedef struct {
     48        uintptr_t in_base;
     49        uintptr_t out_base;
     50} sun4v_con_res_t;
    4251
    4352/** Sun4v console */
     
    4554        async_sess_t *client_sess;
    4655        ddf_dev_t *dev;
     56        chardev_srvs_t cds;
     57        sun4v_con_res_t res;
     58        /** Virtual address of the shared input buffer */
     59        niagara_input_buffer_t *input_buffer;
     60        /** Virtual address of the shared input buffer */
     61        niagara_output_buffer_t *output_buffer;
    4762} sun4v_con_t;
    4863
    49 extern int sun4v_con_init(sun4v_con_t *);
    50 extern void sun4v_con_write(uint8_t data);
    51 
    52 
    53 extern int sun4v_con_add(sun4v_con_t *);
     64extern int sun4v_con_add(sun4v_con_t *, sun4v_con_res_t *);
    5465extern int sun4v_con_remove(sun4v_con_t *);
    5566extern int sun4v_con_gone(sun4v_con_t *);
Note: See TracChangeset for help on using the changeset viewer.