1154972afSPatrick Mooney /*- 2*32640292SAndy Fiddaman * SPDX-License-Identifier: BSD-2-Clause 3154972afSPatrick Mooney * 4154972afSPatrick Mooney * Copyright 2020 Conrad Meyer <cem@FreeBSD.org>. All rights reserved. 5154972afSPatrick Mooney * 6154972afSPatrick Mooney * Redistribution and use in source and binary forms, with or without 7154972afSPatrick Mooney * modification, are permitted provided that the following conditions 8154972afSPatrick Mooney * are met: 9154972afSPatrick Mooney * 1. Redistributions of source code must retain the above copyright 10154972afSPatrick Mooney * notice, this list of conditions and the following disclaimer. 11154972afSPatrick Mooney * 2. Redistributions in binary form must reproduce the above copyright 12154972afSPatrick Mooney * notice, this list of conditions and the following disclaimer in the 13154972afSPatrick Mooney * documentation and/or other materials provided with the distribution. 14154972afSPatrick Mooney * 15154972afSPatrick Mooney * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16154972afSPatrick Mooney * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17154972afSPatrick Mooney * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18154972afSPatrick Mooney * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19154972afSPatrick Mooney * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20154972afSPatrick Mooney * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21154972afSPatrick Mooney * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22154972afSPatrick Mooney * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23154972afSPatrick Mooney * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24154972afSPatrick Mooney * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25154972afSPatrick Mooney * SUCH DAMAGE. 26154972afSPatrick Mooney */ 27154972afSPatrick Mooney #pragma once 28154972afSPatrick Mooney void vmgenc_init(struct vmctx *); 29154972afSPatrick Mooney void vmgenc_write_dsdt(void); 30