Home | History | Annotate | Download | only in boot

Lines Matching refs:SP

203 	movl	#STACK,%sp		| set SP
275 movl _C_LABEL(nofault),%sp@- | yes,
278 clrw %sp@- | pad SR to longword
279 moveml #0xFFFF,%sp@- | save user registers
280 movl %usp,%a0 | save the user SP
281 movl %a0,%sp@(60) | in the savearea
282 lea %sp@(64),%a1 | grab base of HW berr frame
317 movl %d1,%sp@- | push fault VA
318 movw %d0,%sp@- | and SSW
319 clrw %sp@- | padded to longword
327 .long 0xf0176200 | pmove %psr,%sp@
328 btst #7,%sp@ | bus error bit set?
330 clrw %sp@ | yes, re-clear pad word
334 movl #T_MMUFLT,%sp@- | show that we are an MMU fault
337 movl #T_ADDRERR,%sp@- | mark address error
340 movl #T_BUSERR,%sp@- | mark bus error
343 lea %sp@(12),%sp | pop value args
344 movl %sp@(60),%a0 | restore user SP
346 moveml %sp@+,#0x7FFF | restore most user regs
347 addql #4,%sp | toss SSP
348 tstw %sp@+ | do we need to clean up stack?
350 btst #7,%sp@(6) | type 9/10/11 frame?
352 btst #5,%sp@(6) | type 9?
354 movw %sp@,%sp@(12) | yes, push down SR
355 movl %sp@(2),%sp@(14) | and PC
356 clrw %sp@(18) | and mark as type 0 frame
357 lea %sp@(12),%sp | clean the excess
360 btst #4,%sp@(6) | type 10?
362 movw %sp@,%sp@(24) | yes, push down SR
363 movl %sp@(2),%sp@(26) | and PC
364 clrw %sp@(30) | and mark as type 0 frame
365 lea %sp@(24),%sp | clean the excess
368 movw %sp@,%sp@(84) | type 11, push down SR
369 movl %sp@(2),%sp@(86) | and PC
370 clrw %sp@(90) | and mark as type 0 frame
371 lea %sp@(84),%sp | clean the excess
375 clrw %sp@-
376 moveml #0xFFFF,%sp@-
381 clrw %sp@-
382 moveml #0xFFFF,%sp@-
387 clrw %sp@-
388 moveml #0xFFFF,%sp@-
393 clrw %sp@-
394 moveml #0xFFFF,%sp@-
399 clrw %sp@-
400 moveml #0xFFFF,%sp@-
405 clrw %sp@-
406 moveml #0xFFFF,%sp@-
411 clrw %sp@-
412 moveml #0xFFFF,%sp@-
418 clrw %sp@- | pad SR to longword
419 moveml #0xFFFF,%sp@- | save user registers
421 movl %a0,%sp@(60) | the user stack pointer
422 clrl %sp@- | no VA arg
432 .word 0xf227,0xa800 | fmovem %fpsr,%sp@- (code arg)
435 clrl %sp@- | push dummy FPSR
437 movl #T_FPERR,%sp@- | push type arg
439 lea %sp@(12),%sp | pop value args
440 movl %sp@(60),%a0 | restore
441 movl %a0,%usp | user SP
442 moveml %sp@+,#0x7FFF | and remaining user registers
443 addql #6,%sp | pop SSP and align word
451 movl %a0,%sp@(60) | the user stack pointer
452 clrl %sp@- | no VA arg
453 clrl %sp@- | or code arg
454 movl %d0,%sp@- | push trap type
456 lea %sp@(12),%sp | pop value args
457 movl %sp@(60),%a0 | restore
458 movl %a0,%usp | user SP
459 moveml %sp@+,#0x7FFF | restore most user regs
460 addql #6,%sp | pop SP and pad word
464 clrw %sp@-
465 moveml #0xC0C0,%sp@-
466 movw %sp@(24),%sp@-
467 clrw %sp@-
469 addql #4,%sp
470 moveml %sp@+,#0x0303
471 addql #2,%sp
490 clrw %sp@-
491 moveml #0xC0C0,%sp@-
493 moveml %sp@+,#0x0303
494 addql #2,%sp
498 clrw %sp@-
499 moveml #0xC0C0,%sp@-
501 moveml %sp@+,#0x0303
502 addql #2,%sp
506 clrw %sp@- | push pad word
507 moveml #0xC0C0,%sp@- | save scratch regs
510 lea %sp@(16),%a1 | get pointer to PS
511 movl %a1@,%sp@- | push padded PS
512 movl %a1@(4),%sp@- | push PC
514 addql #8,%sp | pop params
515 moveml %sp@+,#0x0303 | restore scratch regs
516 addql #2,%sp | pop pad word
526 clrw %sp@-
527 moveml #0xC0C0,%sp@-
529 moveml %sp@+,#0x0303
530 addql #2,%sp
557 btst #5,%sp@ | yes, are we returning to user mode?
559 clrw %sp@- | pad SR to longword
560 moveml #0xFFFF,%sp@- | save all registers
562 movl %a1,%sp@(60) | the users SP
563 clrl %sp@- | VA == none
564 clrl %sp@- | code == none
565 movl #T_ASTFLT,%sp@- | type == async system trap
567 lea %sp@(12),%sp | pop value args
568 movl %sp@(60),%a0 | restore
569 movl %a0,%usp | user SP
570 moveml %sp@+,#0x7FFF | and all remaining registers
571 addql #4,%sp | toss SSP
572 tstw %sp@+ | do we need to clean up stack?
574 btst #7,%sp@(6) | type 9/10/11 frame?
576 btst #5,%sp@(6) | type 9?
578 movw %sp@,%sp@(12) | yes, push down SR
579 movl %sp@(2),%sp@(14) | and PC
580 clrw %sp@(18) | and mark as type 0 frame
581 lea %sp@(12),%sp | clean the excess
584 btst #4,%sp@(6) | type 10?
586 movw %sp@,%sp@(24) | yes, push down SR
587 movl %sp@(2),%sp@(26) | and PC
588 clrw %sp@(30) | and mark as type 0 frame
589 lea %sp@(24),%sp | clean the excess
592 movw %sp@,%sp@(84) | type 11, push down SR
593 movl %sp@(2),%sp@(86) | and PC
594 clrw %sp@(90) | and mark as type 0 frame
595 lea %sp@(84),%sp | clean the excess
600 movl %d0,%sp@- | need a scratch register
601 movw %sp@(4),%d0 | get SR
604 movl %sp@+,%d0 | restore scratch register
609 clrw %sp@- | pad SR to longword
610 moveml #0xFFFF,%sp@- | save all registers
612 movl %a1,%sp@(60) | the users SP
613 clrl %sp@- | VA == none
614 clrl %sp@- | code == none
615 movl #T_SSIR,%sp@- | type == software interrupt
617 lea %sp@(12),%sp | pop value args
618 movl %sp@(60),%a0 | restore
619 movl %a0,%usp | user SP
620 moveml %sp@+,#0x7FFF | and all remaining registers
621 addql #6,%sp | pop SSP and align word
624 movl %sp@+,%d0 | restore scratch register
636 movl %sp@(4),%a0 | savearea pointer
638 movl %sp@,%a0@(48) | and return address
643 movl %sp@(4),%a0 | savearea pointer
646 movl %sp,%a0@+ | save SP
647 movl %sp@,%a0@ | and return address
652 movl %sp@(4),%a0
654 movl %a0@,%sp@
682 movw %sp@(6),%d1 | get new value
689 | subql #4,%sp | make room for RTE frame
690 | movl %sp@(4),%sp@(2) | position return address
691 | clrw %sp@(6) | set frame type 0
692 | movw #PSL_LOWIPL,%sp@ | and new SR