clockioctl.h revision 1.2
11.2Sagc/* $NetBSD: clockioctl.h,v 1.2 2003/08/07 16:26:58 agc Exp $ */ 21.1Sleo 31.1Sleo/* 41.1Sleo * Copyright (c) 1990 The Regents of the University of California. 51.1Sleo * All rights reserved. 61.2Sagc * 71.2Sagc * This code is derived from software contributed to Berkeley by 81.2Sagc * the Systems Programming Group of the University of Utah Computer 91.2Sagc * Science Department. 101.2Sagc * 111.2Sagc * Redistribution and use in source and binary forms, with or without 121.2Sagc * modification, are permitted provided that the following conditions 131.2Sagc * are met: 141.2Sagc * 1. Redistributions of source code must retain the above copyright 151.2Sagc * notice, this list of conditions and the following disclaimer. 161.2Sagc * 2. Redistributions in binary form must reproduce the above copyright 171.2Sagc * notice, this list of conditions and the following disclaimer in the 181.2Sagc * documentation and/or other materials provided with the distribution. 191.2Sagc * 3. Neither the name of the University nor the names of its contributors 201.2Sagc * may be used to endorse or promote products derived from this software 211.2Sagc * without specific prior written permission. 221.2Sagc * 231.2Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 241.2Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 251.2Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 261.2Sagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 271.2Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 281.2Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 291.2Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 301.2Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 311.2Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 321.2Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 331.2Sagc * SUCH DAMAGE. 341.2Sagc * 351.2Sagc * from: Utah $Hdr: clockioctl.h 1.1 90/07/09$ 361.2Sagc * 371.2Sagc * @(#)clockioctl.h 7.2 (Berkeley) 11/2/90 381.2Sagc */ 391.2Sagc/* 401.2Sagc * Copyright (c) 1989 University of Utah. 411.1Sleo * 421.1Sleo * This code is derived from software contributed to Berkeley by 431.1Sleo * the Systems Programming Group of the University of Utah Computer 441.1Sleo * Science Department. 451.1Sleo * 461.1Sleo * Redistribution and use in source and binary forms, with or without 471.1Sleo * modification, are permitted provided that the following conditions 481.1Sleo * are met: 491.1Sleo * 1. Redistributions of source code must retain the above copyright 501.1Sleo * notice, this list of conditions and the following disclaimer. 511.1Sleo * 2. Redistributions in binary form must reproduce the above copyright 521.1Sleo * notice, this list of conditions and the following disclaimer in the 531.1Sleo * documentation and/or other materials provided with the distribution. 541.1Sleo * 3. All advertising materials mentioning features or use of this software 551.1Sleo * must display the following acknowledgement: 561.1Sleo * This product includes software developed by the University of 571.1Sleo * California, Berkeley and its contributors. 581.1Sleo * 4. Neither the name of the University nor the names of its contributors 591.1Sleo * may be used to endorse or promote products derived from this software 601.1Sleo * without specific prior written permission. 611.1Sleo * 621.1Sleo * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 631.1Sleo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 641.1Sleo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 651.1Sleo * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 661.1Sleo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 671.1Sleo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 681.1Sleo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 691.1Sleo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 701.1Sleo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 711.1Sleo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 721.1Sleo * SUCH DAMAGE. 731.1Sleo * 741.1Sleo * from: Utah $Hdr: clockioctl.h 1.1 90/07/09$ 751.1Sleo * 761.1Sleo * @(#)clockioctl.h 7.2 (Berkeley) 11/2/90 771.1Sleo */ 781.1Sleo 791.1Sleo#define CLOCKMAP _IOWR('C', 1, int) 801.1Sleo#define CLOCKUNMAP _IOW('C', 2, int) 811.1Sleo#define CLOCKGETRES _IOR('C', 3, int) 82