Changeset ecbd287d in mainline for kernel/arch/sparc64/src/sun4v/start.S
- Timestamp:
- 2010-05-22T09:24:05Z (15 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.