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