Ignore:
Timestamp:
2017-11-27T08:33:46Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c309b18
Parents:
d9ec808b
git-author:
Jiri Svoboda <jiri@…> (2017-11-26 21:33:12)
git-committer:
Jiri Svoboda <jiri@…> (2017-11-27 08:33:46)
Message:

Sun4v-con should not store per-instance buffer addresses in a global variable.

File:
1 edited

Legend:

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

    rd9ec808b r59953b57  
    4242#include <stdint.h>
    4343
     44#include "niagara_buf.h"
     45
    4446/** Sun4v console resources */
    4547typedef struct {
     
    5456        chardev_srvs_t cds;
    5557        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;
    5662} sun4v_con_t;
    5763
Note: See TracChangeset for help on using the changeset viewer.