xref: /illumos-gate/usr/src/uts/common/fs/zfs/sys/spa_boot.h (revision 283b84606b6fc326692c03273de1774e8c122f9a)
1e7cbe64fSgw /*
2e7cbe64fSgw  * CDDL HEADER START
3e7cbe64fSgw  *
4e7cbe64fSgw  * The contents of this file are subject to the terms of the
5e7cbe64fSgw  * Common Development and Distribution License (the "License").
6e7cbe64fSgw  * You may not use this file except in compliance with the License.
7e7cbe64fSgw  *
8e7cbe64fSgw  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e7cbe64fSgw  * or http://www.opensolaris.org/os/licensing.
10e7cbe64fSgw  * See the License for the specific language governing permissions
11e7cbe64fSgw  * and limitations under the License.
12e7cbe64fSgw  *
13e7cbe64fSgw  * When distributing Covered Code, include this CDDL HEADER in each
14e7cbe64fSgw  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15e7cbe64fSgw  * If applicable, add the following below this CDDL HEADER, with the
16e7cbe64fSgw  * fields enclosed by brackets "[]" replaced with your own identifying
17e7cbe64fSgw  * information: Portions Copyright [yyyy] [name of copyright owner]
18e7cbe64fSgw  *
19e7cbe64fSgw  * CDDL HEADER END
20e7cbe64fSgw  */
21e7cbe64fSgw /*
2221ecdf64SLin Ling  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23e7cbe64fSgw  * Use is subject to license terms.
24e7cbe64fSgw  */
25e7cbe64fSgw 
26*283b8460SGeorge.Wilson /*
27*283b8460SGeorge.Wilson  * Copyright (c) 2012 by Delphix. All rights reserved.
28*283b8460SGeorge.Wilson  */
29*283b8460SGeorge.Wilson 
30e7cbe64fSgw #ifndef _SYS_SPA_BOOT_H
31e7cbe64fSgw #define	_SYS_SPA_BOOT_H
32e7cbe64fSgw 
33e7cbe64fSgw #include <sys/nvpair.h>
34e7cbe64fSgw 
35e7cbe64fSgw #ifdef	__cplusplus
36e7cbe64fSgw extern "C" {
37e7cbe64fSgw #endif
38e7cbe64fSgw 
39051aabe6Staylor extern char *spa_get_bootprop(char *prop);
40051aabe6Staylor extern void spa_free_bootprop(char *prop);
41e7cbe64fSgw 
42*283b8460SGeorge.Wilson extern void spa_arch_init(void);
43*283b8460SGeorge.Wilson 
44e7cbe64fSgw #ifdef	__cplusplus
45e7cbe64fSgw }
46e7cbe64fSgw #endif
47e7cbe64fSgw 
48e7cbe64fSgw #endif	/* _SYS_SPA_BOOT_H */
49