Changeset 817d939 in mainline for kernel/arch/sparc32/src/sparc32.c
- Timestamp:
- 2013-10-22T20:44:20Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6a3bfee
- Parents:
- d783145
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/src/sparc32.c
rd783145 r817d939 37 37 #include <arch/interrupt.h> 38 38 #include <arch/asm.h> 39 #include <arch/machine_func.h> 39 40 40 41 #include <func.h> … … 55 56 char memcpy_from_uspace_failover_address; 56 57 char memcpy_to_uspace_failover_address; 58 bootinfo_t machine_bootinfo; 57 59 58 60 void arch_pre_main(void *unused, bootinfo_t *bootinfo) 59 61 { 60 62 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); 61 63 memcpy(&machine_bootinfo, bootinfo, sizeof(machine_bootinfo)); 64 62 65 size_t i; 63 66 for (i = 0; i < init.cnt; i++) { … … 67 70 bootinfo->tasks[i].name); 68 71 } 72 73 machine_ops_init(); 69 74 } 70 75 … … 75 80 void arch_post_mm_init(void) 76 81 { 82 machine_init(&machine_bootinfo); 83 77 84 if (config.cpu_active == 1) { 78 85 /* Initialize IRQ routing */ 79 irq_init( 0, 0);86 irq_init(16, 16); 80 87 81 88 /* Merge all memory zones to 1 big zone */ 82 89 zone_merge_all(); 83 90 } 91 92 machine_output_init(); 84 93 } 94 85 95 86 96 void arch_post_cpu_init() … … 94 104 void arch_post_smp_init(void) 95 105 { 106 machine_input_init(); 96 107 } 97 108
Note:
See TracChangeset
for help on using the changeset viewer.