Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2131 | Rev 2292 | ||
---|---|---|---|
Line 313... | Line 313... | ||
313 | scr_width = sysinfo_value("fb.width"); |
313 | scr_width = sysinfo_value("fb.width"); |
314 | scr_height = sysinfo_value("fb.height"); |
314 | scr_height = sysinfo_value("fb.height"); |
315 | iospace_enable(task_get_id(), (void *) EGA_IO_ADDRESS, 2); |
315 | iospace_enable(task_get_id(), (void *) EGA_IO_ADDRESS, 2); |
316 | 316 | ||
317 | sz = scr_width * scr_height * 2; |
317 | sz = scr_width * scr_height * 2; |
318 | scr_addr = as_get_mappable_page(sz, (int) |
318 | scr_addr = as_get_mappable_page(sz); |
319 | sysinfo_value("fb.address.color")); |
- | |
320 | 319 | ||
321 | physmem_map(ega_ph_addr, scr_addr, ALIGN_UP(sz, PAGE_SIZE) >> |
320 | physmem_map(ega_ph_addr, scr_addr, ALIGN_UP(sz, PAGE_SIZE) >> |
322 | PAGE_WIDTH, AS_AREA_READ | AS_AREA_WRITE); |
321 | PAGE_WIDTH, AS_AREA_READ | AS_AREA_WRITE); |
323 | 322 | ||
324 | async_set_client_connection(ega_client_connection); |
323 | async_set_client_connection(ega_client_connection); |