xref: /freebsd/stand/libsa/smbios.h (revision 9dad0ba286807c4aa2886f13705fca2334bb4759)
1a64f0b83SWarner Losh /*-
2a64f0b83SWarner Losh  * Copyright (c) 2015 Rui Paulo <rpaulo@FreeBSD.org>
3a64f0b83SWarner Losh  * All rights reserved.
4a64f0b83SWarner Losh  *
5a64f0b83SWarner Losh  * Redistribution and use in source and binary forms, with or without
6a64f0b83SWarner Losh  * modification, are permitted provided that the following conditions
7a64f0b83SWarner Losh  * are met:
8a64f0b83SWarner Losh  * 1. Redistributions of source code must retain the above copyright
9a64f0b83SWarner Losh  *    notice, this list of conditions and the following disclaimer.
10a64f0b83SWarner Losh  * 2. Redistributions in binary form must reproduce the above copyright
11a64f0b83SWarner Losh  *    notice, this list of conditions and the following disclaimer in the
12a64f0b83SWarner Losh  *    documentation and/or other materials provided with the distribution.
13a64f0b83SWarner Losh  *
14a64f0b83SWarner Losh  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15a64f0b83SWarner Losh  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16a64f0b83SWarner Losh  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17a64f0b83SWarner Losh  * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18a64f0b83SWarner Losh  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19a64f0b83SWarner Losh  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20a64f0b83SWarner Losh  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21a64f0b83SWarner Losh  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22a64f0b83SWarner Losh  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23a64f0b83SWarner Losh  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24a64f0b83SWarner Losh  * POSSIBILITY OF SUCH DAMAGE.
25a64f0b83SWarner Losh  */
26a64f0b83SWarner Losh #ifndef _SMBIOS_H_
27a64f0b83SWarner Losh #define	_SMBIOS_H_
28a64f0b83SWarner Losh 
29*9dad0ba2SOlivier Certner caddr_t	smbios_detect(const caddr_t);
30a64f0b83SWarner Losh int	smbios_match(const char *, const char *, const char *);
31a64f0b83SWarner Losh 
32a64f0b83SWarner Losh #endif /* _SMBIOS_H_ */
33