xref: /openbsd-src/usr.bin/gprof/sh.h (revision 1142eb92820a7453ce54f0aac0f6b734511c7803)
1*1142eb92Sdrahn /*	$OpenBSD: sh.h,v 1.1 2006/10/11 13:34:18 drahn Exp $	*/
2*1142eb92Sdrahn 
3*1142eb92Sdrahn /*-
4*1142eb92Sdrahn  * Copyright (c) 1991, 1993
5*1142eb92Sdrahn  *	The Regents of the University of California.  All rights reserved.
6*1142eb92Sdrahn  *
7*1142eb92Sdrahn  * Redistribution and use in source and binary forms, with or without
8*1142eb92Sdrahn  * modification, are permitted provided that the following conditions
9*1142eb92Sdrahn  * are met:
10*1142eb92Sdrahn  * 1. Redistributions of source code must retain the above copyright
11*1142eb92Sdrahn  *    notice, this list of conditions and the following disclaimer.
12*1142eb92Sdrahn  * 2. Redistributions in binary form must reproduce the above copyright
13*1142eb92Sdrahn  *    notice, this list of conditions and the following disclaimer in the
14*1142eb92Sdrahn  *    documentation and/or other materials provided with the distribution.
15*1142eb92Sdrahn  * 3. Neither the name of the University nor the names of its contributors
16*1142eb92Sdrahn  *    may be used to endorse or promote products derived from this software
17*1142eb92Sdrahn  *    without specific prior written permission.
18*1142eb92Sdrahn  *
19*1142eb92Sdrahn  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20*1142eb92Sdrahn  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21*1142eb92Sdrahn  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22*1142eb92Sdrahn  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23*1142eb92Sdrahn  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24*1142eb92Sdrahn  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25*1142eb92Sdrahn  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26*1142eb92Sdrahn  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27*1142eb92Sdrahn  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28*1142eb92Sdrahn  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29*1142eb92Sdrahn  * SUCH DAMAGE.
30*1142eb92Sdrahn  */
31*1142eb92Sdrahn 
32*1142eb92Sdrahn /*
33*1142eb92Sdrahn  *	offset (in bytes) of the code from the entry address of a routine.
34*1142eb92Sdrahn  *	(see asgnsamples for use and explanation.)
35*1142eb92Sdrahn  */
36*1142eb92Sdrahn 
37*1142eb92Sdrahn #define OFFSET_OF_CODE	0
38*1142eb92Sdrahn #define	UNITS_TO_CODE	(OFFSET_OF_CODE / sizeof(UNIT))
39*1142eb92Sdrahn 
40*1142eb92Sdrahn enum opermodes { dummy };
41*1142eb92Sdrahn typedef enum opermodes	operandenum;
42