Changeset 36df4109 in mainline for kernel/arch/arm32/src/arm32.c
- Timestamp:
- 2016-06-06T16:29:56Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7510326
- Parents:
- 7f0580d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/arm32.c
r7f0580d r36df4109 35 35 36 36 #include <arch.h> 37 #include <arch/arch.h> 37 38 #include <config.h> 38 39 #include <genarch/fb/fb.h> … … 51 52 #include <sysinfo/sysinfo.h> 52 53 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 53 67 /** Performs arm32-specific initialization before main_bsp() is called. */ 54 void ar ch_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo)68 void arm32_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo) 55 69 { 56 70 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); … … 69 83 70 84 /** Performs arm32 specific initialization before mm is initialized. */ 71 void ar ch_pre_mm_init(void)85 void arm32_pre_mm_init(void) 72 86 { 73 87 /* It is not assumed by default */ … … 76 90 77 91 /** Performs arm32 specific initialization afterr mm is initialized. */ 78 void ar ch_post_mm_init(void)92 void arm32_post_mm_init(void) 79 93 { 80 94 machine_init(); … … 90 104 } 91 105 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 is102 * 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 111 106 /** Performs arm32 specific tasks needed after the multiprocessing is 112 107 * initialized. … … 114 109 * Currently the function is empty because SMP is not supported. 115 110 */ 116 void ar ch_post_smp_init(void)111 void arm32_post_smp_init(void) 117 112 { 118 113 machine_input_init();
Note:
See TracChangeset
for help on using the changeset viewer.