Changeset 6da1013f in mainline for kernel/arch/mips32/src/mips32.c
- Timestamp:
- 2009-02-12T20:09:19Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84266669
- Parents:
- 7004747
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
r7004747 r6da1013f 112 112 cp0_status_write(cp0_status_read() & 113 113 ~(cp0_status_bev_bootstrap_bit | cp0_status_erl_error_bit)); 114 115 /* 116 * Mask all interrupts 114 115 /* 116 * Mask all interrupts 117 117 */ 118 118 cp0_mask_all_int(); 119 119 120 120 debugger_init(); 121 121 } … … 133 133 .y = 480, 134 134 .scan = 1920, 135 .visual = VISUAL_ RGB_8_8_8,135 .visual = VISUAL_BGR_8_8_8, 136 136 }; 137 137 fb_init(&gxemul_prop); 138 138 #endif 139 sysinfo_set_item_val("machine." STRING(MACHINE), NULL, 1); 139 140 #ifdef msim 141 sysinfo_set_item_val("machine.msim", NULL, 1); 142 #endif 143 144 #ifdef simics 145 sysinfo_set_item_val("machine.simics", NULL, 1); 146 #endif 147 148 #ifdef bgxemul 149 sysinfo_set_item_val("machine.bgxemul", NULL, 1); 150 #endif 151 152 #ifdef lgxemul 153 sysinfo_set_item_val("machine.lgxemul", NULL, 1); 154 #endif 140 155 } 141 156 … … 162 177 (uintptr_t) kernel_uarg->uspace_entry); 163 178 164 while (1) 165 ; 179 while (1); 166 180 } 167 181 … … 196 210 ___halt(); 197 211 198 while (1) 199 ; 212 while (1); 213 } 214 215 /** Construct function pointer 216 * 217 * @param fptr function pointer structure 218 * @param addr function address 219 * @param caller calling function address 220 * 221 * @return address of the function pointer 222 * 223 */ 224 void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller) 225 { 226 return addr; 200 227 } 201 228
Note:
See TracChangeset
for help on using the changeset viewer.