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