rtcreg.h revision 1363
15081Sgblack@eecs.umich.edu 25081Sgblack@eecs.umich.edu/* 35081Sgblack@eecs.umich.edu * Copyright (c) 2005 The Regents of The University of Michigan 47087Snate@binkert.org * All rights reserved. 57087Snate@binkert.org * 67087Snate@binkert.org * Redistribution and use in source and binary forms, with or without 77087Snate@binkert.org * modification, are permitted provided that the following conditions are 87087Snate@binkert.org * met: redistributions of source code must retain the above copyright 97087Snate@binkert.org * notice, this list of conditions and the following disclaimer; 107087Snate@binkert.org * redistributions in binary form must reproduce the above copyright 117087Snate@binkert.org * notice, this list of conditions and the following disclaimer in the 125081Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution; 137087Snate@binkert.org * neither the name of the copyright holders nor the names of its 147087Snate@binkert.org * contributors may be used to endorse or promote products derived from 157087Snate@binkert.org * this software without specific prior written permission. 167087Snate@binkert.org * 177087Snate@binkert.org * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 187087Snate@binkert.org * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 197087Snate@binkert.org * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 207087Snate@binkert.org * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215081Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 227087Snate@binkert.org * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235081Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245081Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255081Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265081Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275081Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285081Sgblack@eecs.umich.edu */ 295081Sgblack@eecs.umich.edu 305081Sgblack@eecs.umich.edu#define RTC_SEC 0x00 315081Sgblack@eecs.umich.edu#define RTC_SEC_ALRM 0x01 325081Sgblack@eecs.umich.edu#define RTC_MIN 0x02 335081Sgblack@eecs.umich.edu#define RTC_MIN_ALRM 0x03 345081Sgblack@eecs.umich.edu#define RTC_HR 0x04 355081Sgblack@eecs.umich.edu#define RTC_HR_ALRM 0x05 365081Sgblack@eecs.umich.edu#define RTC_DOW 0x06 3714220SPouya.Fotouhi@amd.com#define RTC_DOM 0x07 385081Sgblack@eecs.umich.edu#define RTC_MON 0x08 395081Sgblack@eecs.umich.edu#define RTC_YEAR 0x09 4014220SPouya.Fotouhi@amd.com#define RTC_CNTRL_REGA 0x0A 4114287Shoanguyen@ucdavis.edu#define RTC_CNTRL_REGB 0x0B 4214220SPouya.Fotouhi@amd.com#define RTC_CNTRL_REGC 0x0C 4314220SPouya.Fotouhi@amd.com#define RTC_CNTRL_REGD 0x0D 4414220SPouya.Fotouhi@amd.com 4514220SPouya.Fotouhi@amd.com