Changeset 577b531 in mainline for kernel/arch/sparc64/src/trap/trap_table.S
- Timestamp:
- 2009-04-14T15:47:54Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2bf4936
- Parents:
- 4ee4046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/trap/trap_table.S
r4ee4046 r577b531 479 479 rdpr %tl, %g3 480 480 cmp %g3, 1 481 be 1f481 be %xcc, 1f 482 482 nop 483 483 0: ba 0b ! this is for debugging, if we ever get here … … 500 500 501 501 andcc %g3, TSTATE_PRIV_BIT, %g0 ! if this trap came from the privileged mode... 502 bnz 0f! ...skip setting of kernel stack and primary context502 bnz %xcc, 0f ! ...skip setting of kernel stack and primary context 503 503 nop 504 504 … … 673 673 rdpr %cwp, %l1 674 674 cmp %l0, %l1 675 bz 0f! CWP is ok675 bz %xcc, 0f ! CWP is ok 676 676 nop 677 677 … … 713 713 rdpr %tstate, %g1 714 714 andcc %g1, TSTATE_PRIV_BIT, %g0 ! if we are not returning to userspace..., 715 bnz 1f! ...skip restoring userspace windows715 bnz %xcc, 1f ! ...skip restoring userspace windows 716 716 nop 717 717 .endif … … 750 750 clr %g4 751 751 0: andcc %g7, UWB_ALIGNMENT - 1, %g0 ! alignment check 752 bz 0f! %g7 is UWB_ALIGNMENT-aligned, no more windows to refill752 bz %xcc, 0f ! %g7 is UWB_ALIGNMENT-aligned, no more windows to refill 753 753 nop 754 754 … … 786 786 add %g4, %g2, %g2 787 787 cmp %g2, NWINDOWS - 2 788 bg 2f! fix the CANRESTORE=NWINDOWS-1 anomaly788 bg %xcc, 2f ! fix the CANRESTORE=NWINDOWS-1 anomaly 789 789 mov NWINDOWS - 2, %g1 ! use dealy slot for both cases 790 790 sub %g1, %g2, %g1
Note:
See TracChangeset
for help on using the changeset viewer.