Changes in / [ecbd287d:7c8e1e1] in mainline
- Files:
-
- 3 edited
-
kernel/arch/sparc64/src/sun4u/start.S (modified) (4 diffs)
-
kernel/arch/sparc64/src/sun4v/start.S (modified) (7 diffs)
-
uspace/lib/c/arch/sparc64/src/thread_entry.s (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4u/start.S
recbd287d r7c8e1e1 293 293 * Call arch_pre_main(bootinfo) 294 294 */ 295 mov %o1, %o0 295 296 call arch_pre_main 296 mov %o1, %o0 297 298 /* 299 * Create the first stack frame. 300 */ 301 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp 302 flushw 303 add %g0, -STACK_BIAS, %fp 304 297 nop 298 305 299 call main_bsp 306 300 nop … … 309 303 310 304 0: 311 ba,a %xcc, 0b 305 ba %xcc, 0b 306 nop 312 307 313 308 … … 359 354 ldx [%g1], %o6 360 355 361 /*362 * Create the first stack frame.363 */364 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp365 flushw366 add %g0, -STACK_BIAS, %fp367 368 356 call main_ap 369 357 nop … … 373 361 374 362 0: 375 ba,a %xcc, 0b 363 ba %xcc, 0b 364 nop 376 365 377 366 -
kernel/arch/sparc64/src/sun4v/start.S
recbd287d r7c8e1e1 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 -
uspace/lib/c/arch/sparc64/src/thread_entry.s
recbd287d r7c8e1e1 38 38 # Create the first stack frame. 39 39 # 40 save %sp, -176, %sp41 flushw42 add %g0, -0x7ff, %fp43 40 44 # 45 # Propagate the input arguments to the new window. 46 # 47 mov %i0, %o0 41 #save %sp, -176, %sp 42 #flushw 43 #add %g0, -0x7ff, %fp 48 44 49 45 sethi %hi(_gp), %l7
Note:
See TracChangeset
for help on using the changeset viewer.
