1e7cbe64gw/*
2e7cbe64gw * CDDL HEADER START
3e7cbe64gw *
4e7cbe64gw * The contents of this file are subject to the terms of the
5e7cbe64gw * Common Development and Distribution License (the "License").
6e7cbe64gw * You may not use this file except in compliance with the License.
7e7cbe64gw *
8e7cbe64gw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e7cbe64gw * or http://www.opensolaris.org/os/licensing.
10e7cbe64gw * See the License for the specific language governing permissions
11e7cbe64gw * and limitations under the License.
12e7cbe64gw *
13e7cbe64gw * When distributing Covered Code, include this CDDL HEADER in each
14e7cbe64gw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15e7cbe64gw * If applicable, add the following below this CDDL HEADER, with the
16e7cbe64gw * fields enclosed by brackets "[]" replaced with your own identifying
17e7cbe64gw * information: Portions Copyright [yyyy] [name of copyright owner]
18e7cbe64gw *
19e7cbe64gw * CDDL HEADER END
20e7cbe64gw */
21e7cbe64gw/*
2221ecdf6Lin Ling * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23e7cbe64gw * Use is subject to license terms.
24e7cbe64gw */
25e7cbe64gw
26283b846George.Wilson/*
27283b846George.Wilson * Copyright (c) 2012 by Delphix. All rights reserved.
2830c304dJoshua M. Clulow * Copyright 2020 Joshua M. Clulow <josh@sysmgr.org>
29283b846George.Wilson */
30283b846George.Wilson
31e7cbe64gw#ifndef _SYS_SPA_BOOT_H
32e7cbe64gw#define	_SYS_SPA_BOOT_H
33e7cbe64gw
34e7cbe64gw#include <sys/nvpair.h>
35e7cbe64gw
36e7cbe64gw#ifdef	__cplusplus
37e7cbe64gwextern "C" {
38e7cbe64gw#endif
39e7cbe64gw
4030c304dJoshua M. Clulowextern char *spa_get_bootprop(const char *propname);
4130c304dJoshua M. Clulowextern void spa_free_bootprop(char *propval);
42e7cbe64gw
43283b846George.Wilsonextern void spa_arch_init(void);
44283b846George.Wilson
45e7cbe64gw#ifdef	__cplusplus
46e7cbe64gw}
47e7cbe64gw#endif
48e7cbe64gw
49e7cbe64gw#endif	/* _SYS_SPA_BOOT_H */
50