Changes in kernel/genarch/src/drivers/ega/ega.c [adec5b45:b366a6f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/ega/ega.c
radec5b45 rb366a6f4 37 37 #include <genarch/drivers/ega/ega.h> 38 38 #include <putchar.h> 39 #include <mm/ km.h>39 #include <mm/page.h> 40 40 #include <mm/as.h> 41 41 #include <mm/slab.h> 42 #include <arch/mm/page.h> 42 43 #include <typedefs.h> 43 44 #include <arch/asm.h> … … 597 598 598 599 instance->base = base; 599 instance->addr = (uint8_t *) km_map(addr, EGA_VRAM_SIZE, 600 PAGE_WRITE | PAGE_NOT_CACHEABLE); 600 instance->addr = (uint8_t *) hw_map(addr, EGA_VRAM_SIZE); 601 601 if (!instance->addr) { 602 602 LOG("Unable to EGA video memory.");
Note:
See TracChangeset
for help on using the changeset viewer.