The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/mips/include/clockvar.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $OpenBSD: clockvar.h,v 1.1 1998/01/29 15:06:19 pefo Exp $       */
    2 /*      $NetBSD: clockvar.h,v 1.1 1995/06/28 02:44:59 cgd Exp $ */
    3 
    4 /*
    5  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
    6  * All rights reserved.
    7  *
    8  * Author: Chris G. Demetriou
    9  * Adopted for r4400: Per Fogelstrom
   10  * 
   11  * Permission to use, copy, modify and distribute this software and
   12  * its documentation is hereby granted, provided that both the copyright
   13  * notice and this permission notice appear in all copies of the
   14  * software, derivative works or modified versions, and any portions
   15  * thereof, and that both notices appear in supporting documentation.
   16  * 
   17  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 
   18  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 
   19  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   20  * 
   21  * Carnegie Mellon requests users of this software to return to
   22  *
   23  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   24  *  School of Computer Science
   25  *  Carnegie Mellon University
   26  *  Pittsburgh PA 15213-3890
   27  *
   28  * any improvements or extensions that they make and grant Carnegie the
   29  * rights to redistribute these changes.
   30  *
   31  *      JNPR: clockvar.h,v 1.3 2006/08/07 05:38:57 katta
   32  * $FreeBSD$
   33  */
   34 
   35 /*
   36  * Definitions for "cpu-independent" clock handling for the mips arc arch.
   37  */
   38 
   39 /*
   40  * clocktime structure:
   41  *
   42  * structure passed to TOY clocks when setting them.  broken out this
   43  * way, so that the time_t -> field conversion can be shared.
   44  */
   45 struct tod_time {
   46         int     year;           /* year - 1900 */
   47         int     mon;            /* month (1 - 12) */
   48         int     day;            /* day (1 - 31) */
   49         int     hour;           /* hour (0 - 23) */
   50         int     min;            /* minute (0 - 59) */
   51         int     sec;            /* second (0 - 59) */
   52         int     dow;            /* day of week (0 - 6; 0 = Sunday) */
   53 };
   54 
   55 int clockinitted;

Cache object: e4bd73bbb0f745e2a48b773d608f50de


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.