Changeset 7de5f12 in mainline for uspace/drv/char/msim-con/msim-con.h


Ignore:
Timestamp:
2017-11-15T20:23:50Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ac1243d, 7f4937e
Parents:
e7a8bd2
Message:

MSIM console driver can use hw_res instead of sysinfo for configuration.

File:
1 edited

Legend:

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

    re7a8bd2 r7de5f12  
    4141#include <stdint.h>
    4242
     43/** MSIM console resources */
     44typedef struct {
     45        uintptr_t base;
     46        int irq;
     47} msim_con_res_t;
     48
    4349/** MSIM console */
    4450typedef struct {
    4551        async_sess_t *client_sess;
    4652        ddf_dev_t *dev;
     53        msim_con_res_t res;
    4754} msim_con_t;
    4855
    49 extern int msim_con_add(msim_con_t *);
     56extern int msim_con_add(msim_con_t *, msim_con_res_t *);
    5057extern int msim_con_remove(msim_con_t *);
    5158extern int msim_con_gone(msim_con_t *);
Note: See TracChangeset for help on using the changeset viewer.