1*a7f6c2ffSMark Johnston /*- 2*a7f6c2ffSMark Johnston * SPDX-License-Identifier: BSD-2-Clause 3*a7f6c2ffSMark Johnston * 4*a7f6c2ffSMark Johnston * Copyright (c) 2013 Peter Grehan <grehan@freebsd.org> 5*a7f6c2ffSMark Johnston * All rights reserved. 6*a7f6c2ffSMark Johnston * 7*a7f6c2ffSMark Johnston * Redistribution and use in source and binary forms, with or without 8*a7f6c2ffSMark Johnston * modification, are permitted provided that the following conditions 9*a7f6c2ffSMark Johnston * are met: 10*a7f6c2ffSMark Johnston * 1. Redistributions of source code must retain the above copyright 11*a7f6c2ffSMark Johnston * notice, this list of conditions and the following disclaimer. 12*a7f6c2ffSMark Johnston * 2. Redistributions in binary form must reproduce the above copyright 13*a7f6c2ffSMark Johnston * notice, this list of conditions and the following disclaimer in the 14*a7f6c2ffSMark Johnston * documentation and/or other materials provided with the distribution. 15*a7f6c2ffSMark Johnston * 16*a7f6c2ffSMark Johnston * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17*a7f6c2ffSMark Johnston * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18*a7f6c2ffSMark Johnston * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19*a7f6c2ffSMark Johnston * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20*a7f6c2ffSMark Johnston * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21*a7f6c2ffSMark Johnston * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22*a7f6c2ffSMark Johnston * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23*a7f6c2ffSMark Johnston * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24*a7f6c2ffSMark Johnston * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25*a7f6c2ffSMark Johnston * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26*a7f6c2ffSMark Johnston * SUCH DAMAGE. 27*a7f6c2ffSMark Johnston */ 28*a7f6c2ffSMark Johnston 29*a7f6c2ffSMark Johnston #ifndef _RTC_H_ 30*a7f6c2ffSMark Johnston #define _RTC_H_ 31*a7f6c2ffSMark Johnston 32*a7f6c2ffSMark Johnston void rtc_init(struct vmctx *ctx); 33*a7f6c2ffSMark Johnston 34*a7f6c2ffSMark Johnston #endif /* _RTC_H_ */ 35