Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4368 → Rev 4369

/branches/sparc/kernel/arch/sparc64/src/trap/sun4v/trap_table.S
771,8 → 771,8
INLINE_SPILL_TO_WBUF %g3, %g4, %g7
 
2:
get_kstack_wbuf_ptr %g3, %g4
ldx [%g4], %g6
set SCRATCHPAD_KSTACK, %g4
ldxa [%g4] ASI_SCRATCHPAD, %g6
save %g6, -PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE, %sp
 
.if \is_syscall
823,8 → 823,8
/* Restoring userspace windows: */
 
/* Save address of the userspace window buffer to the %g7 register. */
get_kstack_wbuf_ptr %g1, %g5
ldx [%g5 + 8], %g7
set SCRATCHPAD_WBUF, %g5
ldxa [%g5] ASI_SCRATCHPAD, %g7
 
rdpr %cwp, %g1
rdpr %otherwin, %g2
874,7 → 874,7
 
6:
/* Save changes of the address of the userspace window buffer. */
stx %g7, [%g5 + 8]
stxa %g7, [%g5] ASI_SCRATCHPAD
 
/*
* Switch back to the proper current window and adjust