19cb339ccSConrad Meyer /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 39cb339ccSConrad Meyer * 49cb339ccSConrad Meyer * Copyright 2020 Conrad Meyer <cem@FreeBSD.org>. All rights reserved. 59cb339ccSConrad Meyer * 69cb339ccSConrad Meyer * Redistribution and use in source and binary forms, with or without 79cb339ccSConrad Meyer * modification, are permitted provided that the following conditions 89cb339ccSConrad Meyer * are met: 99cb339ccSConrad Meyer * 1. Redistributions of source code must retain the above copyright 109cb339ccSConrad Meyer * notice, this list of conditions and the following disclaimer. 119cb339ccSConrad Meyer * 2. Redistributions in binary form must reproduce the above copyright 129cb339ccSConrad Meyer * notice, this list of conditions and the following disclaimer in the 139cb339ccSConrad Meyer * documentation and/or other materials provided with the distribution. 149cb339ccSConrad Meyer * 1538e6153fSConrad Meyer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 169cb339ccSConrad Meyer * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 179cb339ccSConrad Meyer * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1838e6153fSConrad Meyer * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 199cb339ccSConrad Meyer * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 209cb339ccSConrad Meyer * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 219cb339ccSConrad Meyer * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 229cb339ccSConrad Meyer * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 239cb339ccSConrad Meyer * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 249cb339ccSConrad Meyer * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 259cb339ccSConrad Meyer * SUCH DAMAGE. 269cb339ccSConrad Meyer */ 279cb339ccSConrad Meyer #pragma once 289cb339ccSConrad Meyer void vmgenc_init(struct vmctx *); 299cb339ccSConrad Meyer void vmgenc_write_dsdt(void); 30