Changes in kernel/arch/arm32/src/arm32.c [36df4109:193d280c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/arm32.c
r36df4109 r193d280c 35 35 36 36 #include <arch.h> 37 #include <arch/arch.h>38 37 #include <config.h> 39 38 #include <genarch/fb/fb.h> … … 52 51 #include <sysinfo/sysinfo.h> 53 52 54 static void arm32_pre_mm_init(void);55 static void arm32_post_mm_init(void);56 static void arm32_post_smp_init(void);57 58 arch_ops_t arm32_ops = {59 .pre_mm_init = arm32_pre_mm_init,60 .post_mm_init = arm32_post_mm_init,61 .post_smp_init = arm32_post_smp_init,62 };63 64 arch_ops_t *arch_ops = &arm32_ops;65 66 67 53 /** Performs arm32-specific initialization before main_bsp() is called. */ 68 void ar m32_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo)54 void arch_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo) 69 55 { 70 56 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); … … 83 69 84 70 /** Performs arm32 specific initialization before mm is initialized. */ 85 void ar m32_pre_mm_init(void)71 void arch_pre_mm_init(void) 86 72 { 87 73 /* It is not assumed by default */ … … 90 76 91 77 /** Performs arm32 specific initialization afterr mm is initialized. */ 92 void ar m32_post_mm_init(void)78 void arch_post_mm_init(void) 93 79 { 94 80 machine_init(); … … 104 90 } 105 91 92 /** Performs arm32 specific tasks needed after cpu is initialized. 93 * 94 * Currently the function is empty. 95 */ 96 void arch_post_cpu_init(void) 97 { 98 } 99 100 101 /** Performs arm32 specific tasks needed before the multiprocessing is 102 * initialized. 103 * 104 * Currently the function is empty because SMP is not supported. 105 */ 106 void arch_pre_smp_init(void) 107 { 108 } 109 110 106 111 /** Performs arm32 specific tasks needed after the multiprocessing is 107 112 * initialized. … … 109 114 * Currently the function is empty because SMP is not supported. 110 115 */ 111 void ar m32_post_smp_init(void)116 void arch_post_smp_init(void) 112 117 { 113 118 machine_input_init();
Note:
See TracChangeset
for help on using the changeset viewer.