Changeset a35b458 in mainline for kernel/arch/sparc64/src/trap/sun4v/trap_table.S
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/trap/sun4v/trap_table.S
r3061bc1 ra35b458 606 606 and \tmpreg1, NWINDOWS - 1, \tmpreg1 ! modulo NWINDOWS 607 607 wrpr \tmpreg1, %cwp 608 608 609 609 ! spill to kernel stack 610 610 stx %l0, [%sp + STACK_BIAS + L0_OFFSET] … … 766 766 ldx [%sp + STACK_BIAS + ISTATE_OFFSET_Y], %g4 767 767 wr %g4, %y 768 768 769 769 /* If TSTATE.CWP + 1 == CWP, then we do not have to fix CWP. */ 770 770 and %g1, TSTATE_CWP_MASK, %l0 … … 871 871 and \tmpreg1, NWINDOWS - 1, \tmpreg1 ! modulo NWINDOWS 872 872 wrpr \tmpreg1, %cwp 873 873 874 874 ! spill to userspace window buffer 875 875 SAVE_TO_USPACE_WBUF \tmpreg3, \tmpreg1 … … 1028 1028 mov NWINDOWS - 2, %g1 ! use dealy slot for both cases 1029 1029 sub %g1, %g2, %g1 1030 1030 1031 1031 wrpr %g0, 0, %otherwin 1032 1032 wrpr %g1, 0, %cansave ! NWINDOWS - 2 - CANRESTORE … … 1073 1073 and %g1, NWINDOWS - 1, %g1 1074 1074 wrpr %g1, 0, %cwp ! CWP-- 1075 1075 1076 1076 .if \is_syscall 1077 1077 done
Note:
See TracChangeset
for help on using the changeset viewer.