Ignore:
File:
1 edited

Legend:

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

    r59953b57 r7aa94304  
    3838#include <async.h>
    3939#include <ddf/driver.h>
    40 #include <io/chardev_srv.h>
    4140#include <loc.h>
    4241#include <stdint.h>
    43 
    44 #include "niagara_buf.h"
    45 
    46 /** Sun4v console resources */
    47 typedef struct {
    48         uintptr_t in_base;
    49         uintptr_t out_base;
    50 } sun4v_con_res_t;
    5142
    5243/** Sun4v console */
     
    5445        async_sess_t *client_sess;
    5546        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;
    6247} sun4v_con_t;
    6348
    64 extern int sun4v_con_add(sun4v_con_t *, sun4v_con_res_t *);
     49extern int sun4v_con_init(sun4v_con_t *);
     50extern void sun4v_con_write(uint8_t data);
     51
     52
     53extern int sun4v_con_add(sun4v_con_t *);
    6554extern int sun4v_con_remove(sun4v_con_t *);
    6655extern int sun4v_con_gone(sun4v_con_t *);
Note: See TracChangeset for help on using the changeset viewer.