Subversion Repositories HelenOS-historic

Rev

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

Rev 452 Rev 492
Line 47... Line 47...
47
 
47
 
48
void ega_init(void)
48
void ega_init(void)
49
{
49
{
50
    __u8 hi, lo;
50
    __u8 hi, lo;
51
 
51
 
52
    map_page_to_frame(PA2KA(VIDEORAM), VIDEORAM, PAGE_NOT_CACHEABLE, 0);
52
    page_mapping_insert(PA2KA(VIDEORAM), VIDEORAM, PAGE_NOT_CACHEABLE, 0);
53
    outb(0x3d4,0xe);
53
    outb(0x3d4,0xe);
54
    hi = inb(0x3d5);
54
    hi = inb(0x3d5);
55
    outb(0x3d4,0xf);
55
    outb(0x3d4,0xf);
56
    lo = inb(0x3d5);
56
    lo = inb(0x3d5);
57
    ega_cursor = (hi<<8)|lo;
57
    ega_cursor = (hi<<8)|lo;