rtc.h revision 284894
1253181Sgrehan/* 2253181Sgrehan * Copyright (c) 2013 Peter Grehan <grehan@freebsd.org> 3253181Sgrehan * All rights reserved. 4253181Sgrehan * 5253181Sgrehan * Redistribution and use in source and binary forms, with or without 6253181Sgrehan * modification, are permitted provided that the following conditions 7253181Sgrehan * are met: 8253181Sgrehan * 1. Redistributions of source code must retain the above copyright 9253181Sgrehan * notice, this list of conditions and the following disclaimer. 10253181Sgrehan * 2. Redistributions in binary form must reproduce the above copyright 11253181Sgrehan * notice, this list of conditions and the following disclaimer in the 12253181Sgrehan * documentation and/or other materials provided with the distribution. 13253181Sgrehan * 14253181Sgrehan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15253181Sgrehan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16253181Sgrehan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17253181Sgrehan * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18253181Sgrehan * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19253181Sgrehan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20253181Sgrehan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21253181Sgrehan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22253181Sgrehan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23253181Sgrehan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24253181Sgrehan * SUCH DAMAGE. 25253181Sgrehan * 26253181Sgrehan * $FreeBSD: stable/10/usr.sbin/bhyve/rtc.h 284894 2015-06-27 22:48:22Z neel $ 27253181Sgrehan */ 28253181Sgrehan 29253181Sgrehan#ifndef _RTC_H_ 30253181Sgrehan#define _RTC_H_ 31253181Sgrehan 32284894Sneelvoid rtc_init(struct vmctx *ctx, int use_localtime); 33253181Sgrehan 34253181Sgrehan#endif /* _RTC_H_ */ 35