__sparc_utrap_gen.S (163967) | __sparc_utrap_gen.S (221869) |
---|---|
1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <machine/asm.h> | 1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <machine/asm.h> |
28__FBSDID("$FreeBSD: head/lib/libc/sparc64/sys/__sparc_utrap_gen.S 163967 2006-11-03 23:43:18Z kmacy $"); | 28__FBSDID("$FreeBSD: head/lib/libc/sparc64/sys/__sparc_utrap_gen.S 221869 2011-05-14 01:53:38Z attilio $"); |
29 30 .register %g2, #ignore 31 .register %g3, #ignore 32 .register %g6, #ignore 33 .register %g7, #ignore 34 35#include <machine/tstate.h> 36#include <machine/utrap.h> 37 38#include "assym.s" 39 40ENTRY(__sparc_utrap_gen) | 29 30 .register %g2, #ignore 31 .register %g3, #ignore 32 .register %g6, #ignore 33 .register %g7, #ignore 34 35#include <machine/tstate.h> 36#include <machine/utrap.h> 37 38#include "assym.s" 39 40ENTRY(__sparc_utrap_gen) |
41#ifdef SUN4V 42 save 43 ta %xcc, ST_FPEMU_CONTEXT 44#endif | |
45 sub %sp, UF_SIZEOF, %sp 46 47 stx %o0, [%sp + SPOFF + CCFSZ + UF_TYPE] 48 stx %o3, [%sp + SPOFF + CCFSZ + UF_TAR] 49 stx %o4, [%sp + SPOFF + CCFSZ + UF_SFAR] 50 stx %o5, [%sp + SPOFF + CCFSZ + UF_SFSR] 51 52 stx %l4, [%sp + SPOFF + CCFSZ + UF_FSR] --- 59 unchanged lines hidden --- | 41 sub %sp, UF_SIZEOF, %sp 42 43 stx %o0, [%sp + SPOFF + CCFSZ + UF_TYPE] 44 stx %o3, [%sp + SPOFF + CCFSZ + UF_TAR] 45 stx %o4, [%sp + SPOFF + CCFSZ + UF_SFAR] 46 stx %o5, [%sp + SPOFF + CCFSZ + UF_SFSR] 47 48 stx %l4, [%sp + SPOFF + CCFSZ + UF_FSR] --- 59 unchanged lines hidden --- |