Changeset ecbd287d in mainline
- Timestamp:
- 2010-05-22T09:24:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb239dc
- Parents:
- 7c8e1e1 (diff), 7f1d897 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4u/start.S
r7c8e1e1 recbd287d 293 293 * Call arch_pre_main(bootinfo) 294 294 */ 295 call arch_pre_main 295 296 mov %o1, %o0 296 call arch_pre_main 297 nop 298 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 299 305 call main_bsp 300 306 nop … … 303 309 304 310 0: 305 ba %xcc, 0b 306 nop 311 ba,a %xcc, 0b 307 312 308 313 … … 354 359 ldx [%g1], %o6 355 360 361 /* 362 * Create the first stack frame. 363 */ 364 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp 365 flushw 366 add %g0, -STACK_BIAS, %fp 367 356 368 call main_ap 357 369 nop … … 361 373 362 374 0: 363 ba %xcc, 0b 364 nop 375 ba,a %xcc, 0b 365 376 366 377 -
kernel/arch/sparc64/src/sun4v/start.S
r7c8e1e1 recbd287d 155 155 mov 0, %o5 156 156 ta 0xff 157 nop158 157 159 158 /* … … 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 %xcc, 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 %xcc, 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 %xcc, kernel_image_start 317 nop 326 ba,a %xcc, kernel_image_start 318 327 319 328 .section K_DATA_START, "aw", @progbits -
uspace/lib/c/arch/sparc64/src/thread_entry.s
r7c8e1e1 recbd287d 38 38 # Create the first stack frame. 39 39 # 40 save %sp, -176, %sp 41 flushw 42 add %g0, -0x7ff, %fp 40 43 41 #save %sp, -176, %sp 42 #flushw 43 #add %g0, -0x7ff, %fp 44 # 45 # Propagate the input arguments to the new window. 46 # 47 mov %i0, %o0 44 48 45 49 sethi %hi(_gp), %l7
Note:
See TracChangeset
for help on using the changeset viewer.