1*25d3b9e7Sdholland /* $NetBSD: clockioctl.h,v 1.6 2015/09/07 03:49:45 dholland Exp $ */ 2ec77f0b3Scgd 315d4cf6bSchopps /* 49b6bd2d9Srmind * Copyright (c) 1989 University of Utah. 515d4cf6bSchopps * Copyright (c) 1990 The Regents of the University of California. 615d4cf6bSchopps * All rights reserved. 715d4cf6bSchopps * 815d4cf6bSchopps * This code is derived from software contributed to Berkeley by 915d4cf6bSchopps * the Systems Programming Group of the University of Utah Computer 1015d4cf6bSchopps * Science Department. 1115d4cf6bSchopps * 1215d4cf6bSchopps * Redistribution and use in source and binary forms, with or without 1315d4cf6bSchopps * modification, are permitted provided that the following conditions 1415d4cf6bSchopps * are met: 1515d4cf6bSchopps * 1. Redistributions of source code must retain the above copyright 1615d4cf6bSchopps * notice, this list of conditions and the following disclaimer. 1715d4cf6bSchopps * 2. Redistributions in binary form must reproduce the above copyright 1815d4cf6bSchopps * notice, this list of conditions and the following disclaimer in the 1915d4cf6bSchopps * documentation and/or other materials provided with the distribution. 20aad01611Sagc * 3. Neither the name of the University nor the names of its contributors 21aad01611Sagc * may be used to endorse or promote products derived from this software 22aad01611Sagc * without specific prior written permission. 23aad01611Sagc * 24aad01611Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25aad01611Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26aad01611Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27aad01611Sagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 28aad01611Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29aad01611Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30aad01611Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31aad01611Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32aad01611Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33aad01611Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34aad01611Sagc * SUCH DAMAGE. 35aad01611Sagc * 36aad01611Sagc * from: Utah $Hdr: clockioctl.h 1.1 90/07/09$ 37aad01611Sagc * 38aad01611Sagc * @(#)clockioctl.h 7.2 (Berkeley) 11/2/90 39aad01611Sagc */ 4015d4cf6bSchopps 41*25d3b9e7Sdholland #include <sys/ioccom.h> 42*25d3b9e7Sdholland 4315d4cf6bSchopps #define CLOCKMAP _IOWR('C', 1, int) 4415d4cf6bSchopps #define CLOCKUNMAP _IOW('C', 2, int) 4515d4cf6bSchopps #define CLOCKGETRES _IOR('C', 3, int) 46