Changes in uspace/drv/fb/kfb/port.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/kfb/port.c
rb7fd2a0 r38d150e 86 86 static vslmode_list_element_t pixel_mode; 87 87 88 static errno_t kfb_claim(visualizer_t *vs)88 static int kfb_claim(visualizer_t *vs) 89 89 { 90 90 return physmem_map(kfb.paddr + kfb.offset, … … 93 93 } 94 94 95 static errno_t kfb_yield(visualizer_t *vs)96 { 97 errno_t rc;95 static int kfb_yield(visualizer_t *vs) 96 { 97 int rc; 98 98 99 99 if (vs->mode_set) { … … 109 109 } 110 110 111 static errno_t kfb_handle_damage_pixels(visualizer_t *vs,111 static int kfb_handle_damage_pixels(visualizer_t *vs, 112 112 sysarg_t x0, sysarg_t y0, sysarg_t width, sysarg_t height, 113 113 sysarg_t x_offset, sysarg_t y_offset) … … 137 137 } 138 138 139 static errno_t kfb_change_mode(visualizer_t *vs, vslmode_t new_mode)139 static int kfb_change_mode(visualizer_t *vs, vslmode_t new_mode) 140 140 { 141 141 vs->ops.handle_damage = kfb_handle_damage_pixels; … … 143 143 } 144 144 145 static errno_t kfb_suspend(visualizer_t *vs)146 { 147 return EOK; 148 } 149 150 static errno_t kfb_wakeup(visualizer_t *vs)145 static int kfb_suspend(visualizer_t *vs) 146 { 147 return EOK; 148 } 149 150 static int kfb_wakeup(visualizer_t *vs) 151 151 { 152 152 return EOK; … … 165 165 { 166 166 visualizer_t *vsl; 167 errno_t rc;167 int rc; 168 168 169 169 vsl = (visualizer_t *) ddf_fun_data_get((ddf_fun_t *)arg); … … 177 177 } 178 178 179 errno_t port_init(ddf_dev_t *dev)179 int port_init(ddf_dev_t *dev) 180 180 { 181 181 sysarg_t present; 182 errno_t rc = sysinfo_get_value("fb", &present);182 int rc = sysinfo_get_value("fb", &present); 183 183 if (rc != EOK) 184 184 present = false;
Note:
See TracChangeset
for help on using the changeset viewer.