4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 .file "__clock_timer.s"
33 * __clock_getres(clockid_t clock_id, timespec_t *res)
37 SYSTRAP_RVAL1
(clock_getres
)
40 SET_SIZE
(__clock_getres
)
44 * __clock_settime(clockid_t clock_id, timespec_t *tp)
47 ENTRY
(__clock_settime
)
48 SYSTRAP_RVAL1
(clock_settime
)
51 SET_SIZE
(__clock_settime
)
55 * __timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
59 SYSTRAP_RVAL1
(timer_create
)
62 SET_SIZE
(__timer_create
)
66 * __timer_delete(timer_t timerid)
70 SYSTRAP_RVAL1
(timer_delete
)
73 SET_SIZE
(__timer_delete
)
77 * __timer_getoverrun(timer_t timerid)
80 ENTRY
(__timer_getoverrun
)
81 SYSTRAP_RVAL1
(timer_getoverrun
)
84 SET_SIZE
(__timer_getoverrun
)
88 * __timer_gettime(timer_t timerid, struct itimerspec *value)
91 ENTRY
(__timer_gettime
)
92 SYSTRAP_RVAL1
(timer_gettime
)
95 SET_SIZE
(__timer_gettime
)
99 * __timer_settime(timer_t timerid, int flags,
100 * const struct itimerspec *value, struct itimerspec *ovalue)
103 ENTRY
(__timer_settime
)
104 SYSTRAP_RVAL1
(timer_settime
)
107 SET_SIZE
(__timer_settime
)
111 * __nanosleep(const timespec_t *rqtp, timespec_t *rmtp)
115 SYSTRAP_RVAL1
(nanosleep
)
118 SET_SIZE
(__nanosleep
)