1 7c478bd9Sstevel@tonic-gate/* 2 7c478bd9Sstevel@tonic-gate * CDDL HEADER START 3 7c478bd9Sstevel@tonic-gate * 4 7c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5 *9a70fc3bSMark J. Nelson * Common Development and Distribution License (the "License"). 6 *9a70fc3bSMark J. Nelson * You may not use this file except in compliance with the License. 7 7c478bd9Sstevel@tonic-gate * 8 7c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 7c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 10 7c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 11 7c478bd9Sstevel@tonic-gate * and limitations under the License. 12 7c478bd9Sstevel@tonic-gate * 13 7c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 14 7c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 7c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 16 7c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 17 7c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 18 7c478bd9Sstevel@tonic-gate * 19 7c478bd9Sstevel@tonic-gate * CDDL HEADER END 20 7c478bd9Sstevel@tonic-gate */ 21 7c478bd9Sstevel@tonic-gate/* 22 7c478bd9Sstevel@tonic-gate * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 23 7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 24 7c478bd9Sstevel@tonic-gate */ 25 7c478bd9Sstevel@tonic-gate 26 *9a70fc3bSMark J. Nelson .file "ntp_gettime.s" 27 7c478bd9Sstevel@tonic-gate 28 7c478bd9Sstevel@tonic-gate/* C library -- ntp_gettime */ 29 7c478bd9Sstevel@tonic-gate/* int ntp_gettime (struct ntptimeval *); */ 30 7c478bd9Sstevel@tonic-gate 31 7c478bd9Sstevel@tonic-gate#include <sys/asm_linkage.h> 32 7c478bd9Sstevel@tonic-gate 33 7c478bd9Sstevel@tonic-gate ANSI_PRAGMA_WEAK(ntp_gettime,function) 34 7c478bd9Sstevel@tonic-gate 35 7c478bd9Sstevel@tonic-gate#include "SYS.h" 36 7c478bd9Sstevel@tonic-gate 37 7c478bd9Sstevel@tonic-gate SYSCALL_RVAL1(ntp_gettime) 38 7c478bd9Sstevel@tonic-gate RET 39 7c478bd9Sstevel@tonic-gate SET_SIZE(ntp_gettime) 40