Subversion Repositories HelenOS

Rev

Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 2012
Line 311... Line 311...
311
    iospace_enable(task_get_id(),(void *)EGA_IO_ADDRESS,2);
311
    iospace_enable(task_get_id(),(void *)EGA_IO_ADDRESS,2);
312
 
312
 
313
    sz = scr_width*scr_height*2;
313
    sz = scr_width*scr_height*2;
314
    scr_addr = as_get_mappable_page(sz);
314
    scr_addr = as_get_mappable_page(sz);
315
 
315
 
316
    map_physmem(ega_ph_addr, scr_addr, ALIGN_UP(sz,PAGE_SIZE)>>PAGE_WIDTH,
316
    physmem_map(ega_ph_addr, scr_addr, ALIGN_UP(sz, PAGE_SIZE) >> PAGE_WIDTH,
317
            AS_AREA_READ | AS_AREA_WRITE);
317
            AS_AREA_READ | AS_AREA_WRITE);
318
 
318
 
319
    async_set_client_connection(ega_client_connection);
319
    async_set_client_connection(ega_client_connection);
320
 
320
 
321
    return 0;
321
    return 0;