Rev 755 | Rev 1296 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 755 | Rev 756 | ||
---|---|---|---|
Line 57... | Line 57... | ||
57 | 57 | ||
58 | void ega_init(void) |
58 | void ega_init(void) |
59 | { |
59 | { |
60 | __u8 hi, lo; |
60 | __u8 hi, lo; |
61 | 61 | ||
62 | page_mapping_insert(AS_KERNEL, PA2KA(VIDEORAM), VIDEORAM, PAGE_NOT_CACHEABLE, 0); |
62 | page_mapping_insert(AS_KERNEL, PA2KA(VIDEORAM), VIDEORAM, PAGE_NOT_CACHEABLE); |
63 | outb(0x3d4,0xe); |
63 | outb(0x3d4,0xe); |
64 | hi = inb(0x3d5); |
64 | hi = inb(0x3d5); |
65 | outb(0x3d4,0xf); |
65 | outb(0x3d4,0xf); |
66 | lo = inb(0x3d5); |
66 | lo = inb(0x3d5); |
67 | ega_cursor = (hi<<8)|lo; |
67 | ega_cursor = (hi<<8)|lo; |