Changes in kernel/arch/mips64/src/start.S [6d123b3:2429e4a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips64/src/start.S
r6d123b3 r2429e4a 241 241 /* $a1 contains physical address of bootinfo_t */ 242 242 jal arch_pre_main 243 addiu $sp, -ABI_STACK_FRAME243 nop 244 244 245 245 j main_bsp … … 281 281 282 282 move $a1, $sp 283 jal exc_dispatch /* exc_dispatch(excno, register_space) */ 283 284 move $a0, $k0 284 jal exc_dispatch /* exc_dispatch(excno, register_space) */285 addiu $sp, -ABI_STACK_FRAME286 addiu $sp, ABI_STACK_FRAME287 285 288 286 REGISTERS_LOAD $sp … … 325 323 sw $t0, ISTATE_OFFSET_T0($sp) /* save the 5th argument on the stack */ 326 324 sw $t1, ISTATE_OFFSET_T1($sp) /* save the 6th argument on the stack */ 327 328 325 jal syscall_handler 329 326 sw $v0, ISTATE_OFFSET_V0($sp) /* save the syscall number on the stack */ … … 360 357 move $sp, $k0 361 358 362 move $a0, $sp363 359 jal tlb_refill 364 addiu $sp, -ABI_STACK_FRAME 365 addiu $sp, ABI_STACK_FRAME 360 move $a0, $sp 366 361 367 362 REGISTERS_LOAD $sp … … 371 366 cache_error_handler: 372 367 KERNEL_STACK_TO_K0 373 sub $k0, ISTATE_SOFT_SIZE 368 sub $k0, ISTATE_SOFT_SIZE 374 369 REGISTERS_STORE_AND_EXC_RESET $k0 375 370 sw $sp, ISTATE_OFFSET_SP($k0) 376 371 move $sp, $k0 377 372 373 jal cache_error 378 374 move $a0, $sp 379 jal cache_error380 addiu $sp, -ABI_STACK_FRAME381 addiu $sp, ABI_STACK_FRAME382 375 383 376 REGISTERS_LOAD $sp
Note:
See TracChangeset
for help on using the changeset viewer.