Changeset 9970a5a in mainline for kernel/genarch
- Timestamp:
- 2012-01-27T23:24:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b3b571, fe56c08a
- Parents:
- d81eaf94 (diff), 221c9ec (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/genarch/src
- Files:
-
- 5 edited
-
drivers/ega/ega.c (modified) (2 diffs)
-
drivers/s3c24xx_uart/s3c24xx_uart.c (modified) (2 diffs)
-
fb/fb.c (modified) (2 diffs)
-
multiboot/multiboot.c (modified) (1 diff)
-
multiboot/multiboot2.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/ega/ega.c
rd81eaf94 r9970a5a 37 37 #include <genarch/drivers/ega/ega.h> 38 38 #include <putchar.h> 39 #include <mm/ page.h>39 #include <mm/km.h> 40 40 #include <mm/as.h> 41 41 #include <mm/slab.h> 42 #include <arch/mm/page.h>43 42 #include <typedefs.h> 44 43 #include <arch/asm.h> … … 598 597 599 598 instance->base = base; 600 instance->addr = (uint8_t *) hw_map(addr, EGA_VRAM_SIZE); 599 instance->addr = (uint8_t *) km_map(addr, EGA_VRAM_SIZE, 600 PAGE_WRITE | PAGE_NOT_CACHEABLE); 601 601 if (!instance->addr) { 602 602 LOG("Unable to EGA video memory."); -
kernel/genarch/src/drivers/s3c24xx_uart/s3c24xx_uart.c
rd81eaf94 r9970a5a 45 45 #include <mm/slab.h> 46 46 #include <mm/page.h> 47 #include <mm/km.h> 47 48 #include <sysinfo/sysinfo.h> 48 49 #include <str.h> … … 113 114 uart_dev->data = uart; 114 115 115 uart->io = (s3c24xx_uart_io_t *) hw_map(paddr, PAGE_SIZE); 116 uart->io = (s3c24xx_uart_io_t *) km_map(paddr, PAGE_SIZE, 117 PAGE_WRITE | PAGE_NOT_CACHEABLE); 116 118 uart->indev = NULL; 117 119 -
kernel/genarch/src/fb/fb.c
rd81eaf94 r9970a5a 40 40 #include <console/console.h> 41 41 #include <sysinfo/sysinfo.h> 42 #include <mm/ page.h>42 #include <mm/km.h> 43 43 #include <mm/slab.h> 44 44 #include <align.h> … … 587 587 size_t glyphsize = FONT_GLYPHS * instance->glyphbytes; 588 588 589 instance->addr = (uint8_t *) hw_map((uintptr_t) props->addr, fbsize); 589 instance->addr = (uint8_t *) km_map((uintptr_t) props->addr, fbsize, 590 PAGE_WRITE | PAGE_NOT_CACHEABLE); 590 591 if (!instance->addr) { 591 592 LOG("Unable to map framebuffer."); -
kernel/genarch/src/multiboot/multiboot.c
rd81eaf94 r9970a5a 77 77 break; 78 78 79 init.tasks[init.cnt]. addr = PA2KA(mods[i].start);79 init.tasks[init.cnt].paddr = mods[i].start; 80 80 init.tasks[init.cnt].size = mods[i].end - mods[i].start; 81 81 -
kernel/genarch/src/multiboot/multiboot2.c
rd81eaf94 r9970a5a 45 45 { 46 46 if (init.cnt < CONFIG_INIT_TASKS) { 47 init.tasks[init.cnt]. addr = PA2KA(module->start);47 init.tasks[init.cnt].paddr = module->start; 48 48 init.tasks[init.cnt].size = module->end - module->start; 49 49 multiboot_extract_command(init.tasks[init.cnt].name,
Note:
See TracChangeset
for help on using the changeset viewer.
