Changeset c309b18 in mainline
- Timestamp:
- 2017-11-27T16:35:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 07a70800
- Parents:
- 59953b57
- Location:
- uspace
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/msim-con/msim-con.c
r59953b57 rc309b18 106 106 } 107 107 108 rc = pio_enable((void *)res->base, 1, (void **) &con->out_reg); 109 if (rc != EOK) { 110 ddf_msg(LVL_ERROR, "Error enabling I/O"); 111 goto error; 112 } 113 108 114 ddf_fun_set_conn_handler(fun, msim_con_connection); 109 115 … … 131 137 goto error; 132 138 } 139 140 ddf_fun_add_to_category(fun, "console"); 133 141 134 142 return EOK; … … 157 165 static void msim_con_putchar(msim_con_t *con, uint8_t ch) 158 166 { 167 pio_write_8(con->out_reg, ch); 159 168 } 160 169 -
uspace/drv/char/msim-con/msim-con.h
r59953b57 rc309b18 39 39 #include <async.h> 40 40 #include <ddf/driver.h> 41 #include <ddi.h> 41 42 #include <fibril_synch.h> 42 43 #include <io/chardev_srv.h> … … 66 67 fibril_mutex_t buf_lock; 67 68 fibril_condvar_t buf_cv; 69 ioport8_t *out_reg; 68 70 } msim_con_t; 69 71 -
uspace/srv/hid/output/Makefile
r59953b57 rc309b18 35 35 ctl/serial.c \ 36 36 port/ega.c \ 37 port/kchar.c \38 37 port/chardev.c \ 39 38 proto/vt100.c \ -
uspace/srv/hid/output/output.c
r59953b57 rc309b18 36 36 #include <config.h> 37 37 #include "port/ega.h" 38 #include "port/kchar.h"39 38 #include "port/chardev.h" 40 39 #include "output.h" … … 477 476 if (!config_key_exists("console")) { 478 477 ega_init(); 479 kchar_init();480 478 } 481 479 -
uspace/srv/hid/output/port/chardev.c
r59953b57 rc309b18 190 190 #elif defined(UARCH_sparc64) && defined(PROCESSOR_sun4v) 191 191 /* OK */ 192 #elif defined(MACHINE_msim) 193 /* OK */ 192 194 #else 193 195 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.