Changeset f4665bdc in mainline
- Timestamp:
- 2017-10-05T07:49:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84eb4edd
- Parents:
- b669092
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/kfb/port.c
rb669092 rf4665bdc 95 95 static int kfb_yield(visualizer_t *vs) 96 96 { 97 int rc; 98 97 99 if (vs->mode_set) { 98 100 vs->ops.handle_damage = NULL; 99 101 } 100 102 101 return physmem_unmap(kfb.addr); 103 rc = physmem_unmap(kfb.addr); 104 if (rc != EOK) 105 return rc; 106 107 kfb.addr = NULL; 108 return EOK; 102 109 } 103 110 … … 158 165 { 159 166 visualizer_t *vsl; 167 int rc; 160 168 161 169 vsl = (visualizer_t *) ddf_fun_data_get((ddf_fun_t *)arg); 162 170 graph_visualizer_connection(vsl, iid, icall, NULL); 171 172 if (kfb.addr != NULL) { 173 rc = physmem_unmap(kfb.addr); 174 if (rc == EOK) 175 kfb.addr = NULL; 176 } 163 177 } 164 178
Note:
See TracChangeset
for help on using the changeset viewer.