11363SN/A/*
21363SN/A * Copyright (c) 2005 The Regents of The University of Michigan
31363SN/A * All rights reserved.
41363SN/A *
51363SN/A * Redistribution and use in source and binary forms, with or without
61363SN/A * modification, are permitted provided that the following conditions are
71363SN/A * met: redistributions of source code must retain the above copyright
81363SN/A * notice, this list of conditions and the following disclaimer;
91363SN/A * redistributions in binary form must reproduce the above copyright
101363SN/A * notice, this list of conditions and the following disclaimer in the
111363SN/A * documentation and/or other materials provided with the distribution;
121363SN/A * neither the name of the copyright holders nor the names of its
131363SN/A * contributors may be used to endorse or promote products derived from
141363SN/A * this software without specific prior written permission.
151363SN/A *
161363SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
171363SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
181363SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
191363SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
201363SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
211363SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
221363SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
231363SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
241363SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
251363SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
261363SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272665Ssaidi@eecs.umich.edu *
282665Ssaidi@eecs.umich.edu * Authors: Ali Saidi
292665Ssaidi@eecs.umich.edu *          Miguel Serrano
302665Ssaidi@eecs.umich.edu *          Nathan Binkert
311363SN/A */
321363SN/A
335391Sgblack@eecs.umich.edustatic const int RTC_SEC = 0x00;
345391Sgblack@eecs.umich.edustatic const int RTC_SEC_ALRM = 0x01;
355391Sgblack@eecs.umich.edustatic const int RTC_MIN = 0x02;
365391Sgblack@eecs.umich.edustatic const int RTC_MIN_ALRM = 0x03;
375391Sgblack@eecs.umich.edustatic const int RTC_HR = 0x04;
385391Sgblack@eecs.umich.edustatic const int RTC_HR_ALRM = 0x05;
395391Sgblack@eecs.umich.edustatic const int RTC_DOW = 0x06;
405391Sgblack@eecs.umich.edustatic const int RTC_DOM = 0x07;
415391Sgblack@eecs.umich.edustatic const int RTC_MON = 0x08;
425391Sgblack@eecs.umich.edustatic const int RTC_YEAR = 0x09;
431363SN/A
445391Sgblack@eecs.umich.edustatic const int RTC_STAT_REGA = 0x0A;
459730Sandreas@sandberg.pp.se
469730Sandreas@sandberg.pp.sestatic const int RTCA_DV_4194304HZ = 0x0;
479730Sandreas@sandberg.pp.sestatic const int RTCA_DV_1048576HZ = 0x1;
489730Sandreas@sandberg.pp.sestatic const int RTCA_DV_32768HZ = 0x2;
499730Sandreas@sandberg.pp.sestatic const int RTCA_DV_DISABLED0 = 0x6;
509730Sandreas@sandberg.pp.sestatic const int RTCA_DV_DISABLED1 = 0x7;
519730Sandreas@sandberg.pp.se
529730Sandreas@sandberg.pp.sestatic const int RTCA_RS_DISABLED = 0x0;
539730Sandreas@sandberg.pp.sestatic const int RTCA_RS_1024HZ = 0x6;
541817SN/A
555391Sgblack@eecs.umich.edustatic const int RTC_STAT_REGB = 0x0B;
561817SN/A
575391Sgblack@eecs.umich.edustatic const int RTC_STAT_REGC = 0x0C;
585391Sgblack@eecs.umich.edustatic const int RTC_STAT_REGD = 0x0D;
591817SN/A
60