Changes in kernel/arch/sparc64/src/sun4v/start.S [c92af69b:0242621] in mainline
- File:
-
- 1 edited
-
kernel/arch/sparc64/src/sun4v/start.S (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4v/start.S
rc92af69b r0242621 155 155 mov 0, %o5 156 156 ta 0xff 157 nop 157 158 158 159 /* … … 249 250 * Call arch_pre_main(bootinfo) 250 251 */ 252 or %l1, %g0, %o0 251 253 call arch_pre_main 252 or %l1, %g0, %o0254 nop 253 255 254 /*255 * Create the first stack frame.256 */257 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp258 flushw259 add %g0, -STACK_BIAS, %fp260 261 256 call main_bsp 262 257 nop … … 265 260 266 261 0: 267 ba,a %xcc, 0b 262 ba %xcc, 0b 263 nop 268 264 269 265 1: … … 277 273 */ 278 274 279 mov 1, %o0! MMU enable flag280 set mmu_enabled, %o1281 mov MMU_ENABLE, %o5 ! MMU enable HV call282 ta 0x80! call HV275 mov 1, %o0 ! MMU enable flag 276 set mmu_enabled, %o1 277 mov MMU_ENABLE, %o5 ! MMU enable HV call 278 ta 0x80 ! call HV 283 279 284 280 mmu_enabled: … … 293 289 ldx [%g1], %o6 294 290 295 /*296 * Create the first stack frame.297 */298 save %sp, -(STACK_WINDWO_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp299 flushw300 add %g0, -STACK_BIAS, %fp301 302 291 call main_ap 303 292 nop … … 306 295 /* Not reached. */ 307 296 0: 308 ba,a %xcc, 0b 297 ba %xcc, 0b 298 nop 309 299 310 300 .align 8 … … 324 314 before_ap_boots: 325 315 setx 0x80400000, %g0, %o0 326 ba,a %xcc, kernel_image_start 316 ba %xcc, kernel_image_start 317 nop 327 318 328 319 .section K_DATA_START, "aw", @progbits
Note:
See TracChangeset
for help on using the changeset viewer.
