Changes in kernel/arch/sparc32/src/sparc32.c [b6b02c0:ef9a2a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/src/sparc32.c
rb6b02c0 ref9a2a8 49 49 #include <syscall/syscall.h> 50 50 #include <console/console.h> 51 #include <macros.h> 51 52 #include <memstr.h> 53 #include <str.h> 52 54 53 55 char memcpy_from_uspace_failover_address; 54 56 char memcpy_to_uspace_failover_address; 55 57 56 void arch_pre_main( void)58 void arch_pre_main(bootinfo_t *bootinfo) 57 59 { 60 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); 61 62 size_t i; 63 for (i = 0; i < init.cnt; i++) { 64 init.tasks[i].paddr = KA2PA(bootinfo->tasks[i].addr); 65 init.tasks[i].size = bootinfo->tasks[i].size; 66 str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN, 67 bootinfo->tasks[i].name); 68 } 58 69 } 59 70
Note:
See TracChangeset
for help on using the changeset viewer.