Annotation of sys/arch/mac68k/mac68k/pram.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: pram.h,v 1.9 2007/04/10 17:14:42 miod Exp $ */
! 2: /* $NetBSD: pram.h,v 1.3 1996/05/05 06:18:53 briggs Exp $ */
! 3:
! 4: /*
! 5: * RTC toolkit version 1.08b, copyright 1995, erik vogan
! 6: *
! 7: * All rights and privileges to this code hereby donated
! 8: * to the ALICE group for use in NetBSD. see the copyright
! 9: * below for more info...
! 10: */
! 11: /*
! 12: * Copyright (c) 1995 Erik Vogan
! 13: * All rights reserved.
! 14: *
! 15: * This code is derived from software contributed to the Alice Group
! 16: * by Erik Vogan.
! 17: *
! 18: * Redistribution and use in source and binary forms, with or without
! 19: * modification, are permitted provided that the following conditions
! 20: * are met:
! 21: * 1. Redistributions of source code must retain the above copyright
! 22: * notice, this list of conditions and the following disclaimer.
! 23: * 2. Redistributions in binary form must reproduce the above copyright
! 24: * notice, this list of conditions and the following disclaimer in the
! 25: * documentation and/or other materials provided with the distribution.
! 26: * 3. All advertising materials mentioning features or use of this software
! 27: * must display the following acknowledgement:
! 28: * This product includes software developed by the Alice Group.
! 29: * 4. The names of the Alice Group or any of its members may not be used
! 30: * to endorse or promote products derived from this software without
! 31: * specific prior written permission.
! 32: *
! 33: * THIS SOFTWARE IS PROVIDED BY THE ALICE GROUP ``AS IS'' AND ANY EXPRESS OR
! 34: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! 35: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
! 36: * IN NO EVENT SHALL THE ALICE GROUP BE LIABLE FOR ANY DIRECT, INDIRECT,
! 37: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
! 38: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
! 39: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
! 40: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
! 41: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
! 42: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
! 43: */
! 44:
! 45: /*
! 46: * The following routines are used to get/set the PRAM time
! 47: * (which is stored as seconds since 1904).
! 48: */
! 49:
! 50: unsigned long pram_readtime(void);
! 51: void pram_settime(unsigned long);
! 52:
! 53: unsigned long getPramTimeII(void);
! 54: void setPramTimeII(unsigned long);
CVSweb