__sparc_utrap_private.h (95587) | __sparc_utrap_private.h (96492) |
---|---|
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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * | 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * $FreeBSD: head/lib/libc/sparc64/sys/__sparc_utrap_private.h 95587 2002-04-27 21:56:28Z jake $ | 26 * $FreeBSD: head/lib/libc/sparc64/sys/__sparc_utrap_private.h 96492 2002-05-13 04:35:08Z jake $ |
27 */ 28 29#ifndef ___SPARC_UTRAP_PRIVATE_H_ 30#define ___SPARC_UTRAP_PRIVATE_H_ 31 32#define UF_DONE(uf) do { \ 33 uf->uf_pc = uf->uf_npc; \ 34 uf->uf_npc = uf->uf_pc + 4; \ --- 15 unchanged lines hidden (view full) --- 50extern char __sparc_utrap_fp_disabled[]; 51extern char __sparc_utrap_gen[]; 52 53int __emul_insn(struct utrapframe *uf); 54u_long __emul_fetch_reg(struct utrapframe *uf, int reg); 55void __emul_store_reg(struct utrapframe *uf, int reg, u_long val); 56u_long __emul_f3_op2(struct utrapframe *uf, u_int insn); 57u_long __emul_f3_memop_addr(struct utrapframe *uf, u_int insn); | 27 */ 28 29#ifndef ___SPARC_UTRAP_PRIVATE_H_ 30#define ___SPARC_UTRAP_PRIVATE_H_ 31 32#define UF_DONE(uf) do { \ 33 uf->uf_pc = uf->uf_npc; \ 34 uf->uf_npc = uf->uf_pc + 4; \ --- 15 unchanged lines hidden (view full) --- 50extern char __sparc_utrap_fp_disabled[]; 51extern char __sparc_utrap_gen[]; 52 53int __emul_insn(struct utrapframe *uf); 54u_long __emul_fetch_reg(struct utrapframe *uf, int reg); 55void __emul_store_reg(struct utrapframe *uf, int reg, u_long val); 56u_long __emul_f3_op2(struct utrapframe *uf, u_int insn); 57u_long __emul_f3_memop_addr(struct utrapframe *uf, u_int insn); |
58int __unaligned_fixup(struct utrapframe *uf); |
|
58 59void __sparc_utrap(struct utrapframe *); 60 61void __utrap_write(const char *); 62void __utrap_kill_self(int); 63void __utrap_panic(const char *); 64 65#endif | 59 60void __sparc_utrap(struct utrapframe *); 61 62void __utrap_write(const char *); 63void __utrap_kill_self(int); 64void __utrap_panic(const char *); 65 66#endif |