Changes in kernel/arch/ppc32/src/ppc32.c [adec5b45:c0699467] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/ppc32.c
radec5b45 rc0699467 46 46 #include <userspace.h> 47 47 #include <mm/page.h> 48 #include <mm/km.h>49 48 #include <abi/proc/uarg.h> 50 49 #include <console/console.h> … … 72 71 size_t i; 73 72 for (i = 0; i < init.cnt; i++) { 74 init.tasks[i]. paddr = KA2PA(bootinfo->taskmap.tasks[i].addr);73 init.tasks[i].addr = (uintptr_t) bootinfo->taskmap.tasks[i].addr; 75 74 init.tasks[i].size = bootinfo->taskmap.tasks[i].size; 76 75 str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN, … … 209 208 size_t size = 2 * PAGE_SIZE; 210 209 211 cuda_t *cuda = (cuda_t *) (km_map(aligned_addr, offset + size,212 PAGE_WRITE | PAGE_NOT_CACHEABLE) + offset);210 cuda_t *cuda = (cuda_t *) 211 (hw_map(aligned_addr, offset + size) + offset); 213 212 214 213 /* Initialize I/O controller */
Note:
See TracChangeset
for help on using the changeset viewer.