FEATURES: document various missed changes
[unleashed/lotheac.git] / include / sys / dl.h
blobc6099b8c5391c93abfe41d552c91cf26d0edbcee
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 * Copyright 1997 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
29 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
30 /* All Rights Reserved */
32 #ifndef _SYS_DL_H
33 #define _SYS_DL_H
35 #include <sys/isa_defs.h>
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
41 typedef struct dl {
42 #ifdef _LONG_LONG_LTOH
43 uint_t dl_lop;
44 int dl_hop;
45 #else
46 int dl_hop;
47 uint_t dl_lop;
48 #endif
49 } dl_t;
51 extern dl_t ladd(dl_t, dl_t);
52 extern dl_t lsub(dl_t, dl_t);
53 extern dl_t lmul(dl_t, dl_t);
54 extern dl_t ldivide(dl_t, dl_t);
55 extern dl_t lshiftl(dl_t, int);
56 extern dl_t llog10(dl_t);
57 extern dl_t lexp10(dl_t);
59 extern dl_t lzero;
60 extern dl_t lone;
61 extern dl_t lten;
63 #ifdef __cplusplus
65 #endif
67 #endif /* _SYS_DL_H */