Ignore:
Timestamp:
2018-01-30T03:20:45Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

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

    r8bfb163 r132ab5d1  
    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.