Changeset 5a01f7d in mainline for kernel/arch/sparc64/include/arch/trap/sun4u/regwin.h
- Timestamp:
- 2018-03-26T12:35:30Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48974d6
- Parents:
- 064e0fd
- git-author:
- Jiri Svoboda <jiri@…> (2018-03-25 18:34:49)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-03-26 12:35:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/arch/trap/sun4u/regwin.h
r064e0fd r5a01f7d 34 34 35 35 #ifdef __ASSEMBLER__ 36 37 /* 38 * Macro used to spill userspace window to userspace window buffer. 39 * It can be either triggered from preemptible_handler doing SAVE 40 * at (TL=1) or from normal kernel code doing SAVE when OTHERWIN>0 41 * at (TL=0). 42 */ 43 .macro SPILL_TO_USPACE_WINDOW_BUFFER 44 stx %l0, [%g7 + L0_OFFSET] 45 stx %l1, [%g7 + L1_OFFSET] 46 stx %l2, [%g7 + L2_OFFSET] 47 stx %l3, [%g7 + L3_OFFSET] 48 stx %l4, [%g7 + L4_OFFSET] 49 stx %l5, [%g7 + L5_OFFSET] 50 stx %l6, [%g7 + L6_OFFSET] 51 stx %l7, [%g7 + L7_OFFSET] 52 stx %i0, [%g7 + I0_OFFSET] 53 stx %i1, [%g7 + I1_OFFSET] 54 stx %i2, [%g7 + I2_OFFSET] 55 stx %i3, [%g7 + I3_OFFSET] 56 stx %i4, [%g7 + I4_OFFSET] 57 stx %i5, [%g7 + I5_OFFSET] 58 stx %i6, [%g7 + I6_OFFSET] 59 stx %i7, [%g7 + I7_OFFSET] 60 add %g7, STACK_WINDOW_SAVE_AREA_SIZE, %g7 61 saved 62 retry 63 .endm 64 36 #include <arch/trap/sun4u/regwin.S> 65 37 #endif 66 38
Note:
See TracChangeset
for help on using the changeset viewer.