Changes in uspace/srv/hid/fb/port/ega.c [7c014d1:446ac2a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/port/ega.c
r7c014d1 r446ac2a 117 117 uint8_t glyph; 118 118 119 if ( (field->ch >= 0) && (field->ch < 128))119 if (ascii_check(field->ch)) 120 120 glyph = field->ch; 121 121 else … … 280 280 281 281 ega.size = (width * height) << 1; 282 ega.addr = as_get_mappable_page(ega.size); 283 if (ega.addr == NULL) 284 return ENOMEM; 285 286 rc = physmem_map((void *) paddr, ega.addr, 287 ALIGN_UP(ega.size, PAGE_SIZE) >> PAGE_WIDTH, AS_AREA_READ | AS_AREA_WRITE); 282 283 rc = physmem_map((void *) paddr, 284 ALIGN_UP(ega.size, PAGE_SIZE) >> PAGE_WIDTH, 285 AS_AREA_READ | AS_AREA_WRITE, (void *) &ega.addr); 288 286 if (rc != EOK) 289 287 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.