1 /* $OpenBSD: frame.h,v 1.3 1998/09/15 10:50:12 pefo Exp $ */
4 * SPDX-License-Identifier: BSD-4-Clause
6 * Copyright (c) 1998 Per Fogelstrom, Opsycon AB
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 * 3. All advertising materials mentioning features or use of this software
17 * must display the following acknowledgement:
18 * This product includes software developed under OpenBSD by
19 * Per Fogelstrom, Opsycon AB, Sweden.
20 * 4. The name of the author may not be used to endorse or promote products
21 * derived from this software without specific prior written permission.
23 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
24 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * JNPR: frame.h,v 1.6.2.1 2007/09/10 08:14:57 girish
39 #ifndef _MACHINE_FRAME_H_
40 #define _MACHINE_FRAME_H_
42 /* Note: This must also match regnum.h and regdef.h */
53 #if defined(__mips_n32) || defined(__mips_n64)
95 * FREEBSD_DEVELOPERS_FIXME:
96 * Include any other registers which are CPU-Specific and
97 * need to be part of the frame here.
99 * Also, be sure this matches what is defined in regnum.h
101 register_t ic; /* RM7k and RM9k specific */
102 register_t dummy; /* Alignment for 32-bit case */
104 /* From here and on, only saved user processes. */
142 #endif /* !_MACHINE_FRAME_H_ */