11.6Sdholland/* $NetBSD: clockioctl.h,v 1.6 2015/09/07 03:49:45 dholland Exp $ */ 21.2Scgd 31.1Schopps/* 41.5Srmind * Copyright (c) 1989 University of Utah. 51.1Schopps * Copyright (c) 1990 The Regents of the University of California. 61.1Schopps * All rights reserved. 71.3Sagc * 81.3Sagc * This code is derived from software contributed to Berkeley by 91.3Sagc * the Systems Programming Group of the University of Utah Computer 101.3Sagc * Science Department. 111.3Sagc * 121.3Sagc * Redistribution and use in source and binary forms, with or without 131.3Sagc * modification, are permitted provided that the following conditions 141.3Sagc * are met: 151.3Sagc * 1. Redistributions of source code must retain the above copyright 161.3Sagc * notice, this list of conditions and the following disclaimer. 171.3Sagc * 2. Redistributions in binary form must reproduce the above copyright 181.3Sagc * notice, this list of conditions and the following disclaimer in the 191.3Sagc * documentation and/or other materials provided with the distribution. 201.3Sagc * 3. Neither the name of the University nor the names of its contributors 211.3Sagc * may be used to endorse or promote products derived from this software 221.3Sagc * without specific prior written permission. 231.3Sagc * 241.3Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 251.3Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 261.3Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 271.3Sagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 281.3Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 291.3Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 301.3Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 311.3Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 321.3Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 331.3Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 341.3Sagc * SUCH DAMAGE. 351.3Sagc * 361.3Sagc * from: Utah $Hdr: clockioctl.h 1.1 90/07/09$ 371.3Sagc * 381.3Sagc * @(#)clockioctl.h 7.2 (Berkeley) 11/2/90 391.3Sagc */ 401.1Schopps 411.6Sdholland#include <sys/ioccom.h> 421.6Sdholland 431.1Schopps#define CLOCKMAP _IOWR('C', 1, int) 441.1Schopps#define CLOCKUNMAP _IOW('C', 2, int) 451.1Schopps#define CLOCKGETRES _IOR('C', 3, int) 46