Changeset 36df4109 in mainline for kernel/arch/mips32/src/mips32.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/mips32/src/mips32.c
r7f0580d r36df4109 34 34 35 35 #include <arch.h> 36 #include <arch/arch.h> 36 37 #include <typedefs.h> 37 38 #include <errno.h> … … 56 57 #define CACHE_EXC ((char *) 0x80000100) 57 58 59 static void mips32_pre_mm_init(void); 60 static void mips32_post_mm_init(void); 61 static void mips32_post_smp_init(void); 62 63 arch_ops_t mips32_ops = { 64 .pre_mm_init = mips32_pre_mm_init, 65 .post_mm_init = mips32_post_mm_init, 66 .post_smp_init = mips32_post_smp_init, 67 }; 68 69 arch_ops_t *arch_ops = &mips32_ops; 58 70 59 71 /* Why the linker moves the variable 64K away in assembler … … 71 83 72 84 /** Performs mips32-specific initialization before main_bsp() is called. */ 73 void arch_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo)85 void mips32_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo) 74 86 { 75 87 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); … … 96 108 } 97 109 98 void arch_pre_mm_init(void)110 void mips32_pre_mm_init(void) 99 111 { 100 112 /* It is not assumed by default */ … … 127 139 } 128 140 129 void arch_post_mm_init(void)141 void mips32_post_mm_init(void) 130 142 { 131 143 interrupt_init(); … … 135 147 } 136 148 137 void arch_post_cpu_init(void) 138 { 139 } 140 141 void arch_pre_smp_init(void) 142 { 143 } 144 145 void arch_post_smp_init(void) 149 void mips32_post_smp_init(void) 146 150 { 147 151 /* Set platform name. */
Note:
See TracChangeset
for help on using the changeset viewer.