Changes in kernel/arch/sparc64/src/sun4v/start.S [b97b348:c92af69b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4v/start.S
rb97b348 rc92af69b 155 155 mov 0, %o5 156 156 ta 0xff 157 nop158 157 159 158 /* … … 219 218 ! on APs skip executing the following code 220 219 cmp %l7, 0 221 be 1f220 be %xcc, 1f 222 221 nop 223 222 … … 250 249 * Call arch_pre_main(bootinfo) 251 250 */ 251 call arch_pre_main 252 252 or %l1, %g0, %o0 253 call arch_pre_main254 nop255 253 254 /* 255 * Create the first stack frame. 256 */ 257 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp 258 flushw 259 add %g0, -STACK_BIAS, %fp 260 256 261 call main_bsp 257 262 nop … … 260 265 261 266 0: 262 ba 0b 263 nop 267 ba,a %xcc, 0b 264 268 265 269 1: … … 273 277 */ 274 278 275 mov 1, %o0! MMU enable flag276 set 277 mov 278 ta 0x80! call HV279 mov 1, %o0 ! MMU enable flag 280 set mmu_enabled, %o1 281 mov MMU_ENABLE, %o5 ! MMU enable HV call 282 ta 0x80 ! call HV 279 283 280 284 mmu_enabled: … … 289 293 ldx [%g1], %o6 290 294 295 /* 296 * Create the first stack frame. 297 */ 298 save %sp, -(STACK_WINDWO_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp 299 flushw 300 add %g0, -STACK_BIAS, %fp 301 291 302 call main_ap 292 303 nop … … 295 306 /* Not reached. */ 296 307 0: 297 ba 0b 298 nop 308 ba,a %xcc, 0b 299 309 300 310 .align 8 … … 314 324 before_ap_boots: 315 325 setx 0x80400000, %g0, %o0 316 ba kernel_image_start 317 nop 326 ba,a %xcc, kernel_image_start 318 327 319 328 .section K_DATA_START, "aw", @progbits
Note:
See TracChangeset
for help on using the changeset viewer.