Changeset a35b458 in mainline for kernel/arch/mips32/src/mips32.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
r3061bc1 ra35b458 86 86 { 87 87 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); 88 88 89 89 size_t i; 90 90 for (i = 0; i < init.cnt; i++) { … … 94 94 bootinfo->tasks[i].name); 95 95 } 96 96 97 97 for (i = 0; i < CPUMAP_MAX_RECORDS; i++) { 98 98 if ((bootinfo->cpumap & (1 << i)) != 0) … … 112 112 /* It is not assumed by default */ 113 113 interrupts_disable(); 114 114 115 115 /* Initialize dispatch table */ 116 116 exception_init(); … … 123 123 memcpy(CACHE_EXC, (char *) cache_error_entry, EXCEPTION_JUMP_SIZE); 124 124 smc_coherence_block(CACHE_EXC, EXCEPTION_JUMP_SIZE); 125 125 126 126 /* 127 127 * Switch to BEV normal level so that exception vectors point to the … … 130 130 cp0_status_write(cp0_status_read() & 131 131 ~(cp0_status_bev_bootstrap_bit | cp0_status_erl_error_bit)); 132 132 133 133 /* 134 134 * Mask all interrupts 135 135 */ 136 136 cp0_mask_all_int(); 137 137 138 138 debugger_init(); 139 139 } … … 171 171 (uintptr_t) kernel_uarg->uspace_uarg, 172 172 (uintptr_t) kernel_uarg->uspace_entry); 173 173 174 174 while (1); 175 175 }
Note:
See TracChangeset
for help on using the changeset viewer.