xref: /freebsd/sys/i386/include/kexec.h (revision 3b9578059cce3bc193be651546e191d0177df7d4)
1*3b957805SJustin Hibbits /*-
2*3b957805SJustin Hibbits  * SPDX-License-Identifier: BSD-2-Clause
3*3b957805SJustin Hibbits  *
4*3b957805SJustin Hibbits  * Copyright (c) 2025 Juniper Networks, Inc.
5*3b957805SJustin Hibbits  *
6*3b957805SJustin Hibbits  * Redistribution and use in source and binary forms, with or without
7*3b957805SJustin Hibbits  * modification, are permitted provided that the following conditions
8*3b957805SJustin Hibbits  * are met:
9*3b957805SJustin Hibbits  * 1. Redistributions of source code must retain the above copyright
10*3b957805SJustin Hibbits  *    notice, this list of conditions and the following disclaimer.
11*3b957805SJustin Hibbits  * 2. Redistributions in binary form must reproduce the above copyright
12*3b957805SJustin Hibbits  *    notice, this list of conditions and the following disclaimer in the
13*3b957805SJustin Hibbits  *    documentation and/or other materials provided with the distribution.
14*3b957805SJustin Hibbits  *
15*3b957805SJustin Hibbits  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16*3b957805SJustin Hibbits  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*3b957805SJustin Hibbits  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*3b957805SJustin Hibbits  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*3b957805SJustin Hibbits  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*3b957805SJustin Hibbits  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*3b957805SJustin Hibbits  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*3b957805SJustin Hibbits  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*3b957805SJustin Hibbits  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*3b957805SJustin Hibbits  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*3b957805SJustin Hibbits  * SUCH DAMAGE.
26*3b957805SJustin Hibbits  */
27*3b957805SJustin Hibbits 
28*3b957805SJustin Hibbits #ifndef	_I386_KEXEC_H_
29*3b957805SJustin Hibbits #define	_I386_KEXEC_H_
30*3b957805SJustin Hibbits 
31*3b957805SJustin Hibbits int
kexec_load_md(struct kexec_image * image)32*3b957805SJustin Hibbits kexec_load_md(struct kexec_image *image)
33*3b957805SJustin Hibbits {
34*3b957805SJustin Hibbits 	return (ENOSYS);
35*3b957805SJustin Hibbits }
36*3b957805SJustin Hibbits 
37*3b957805SJustin Hibbits #define	kexec_reboot_md(x) do {} while (0)
38*3b957805SJustin Hibbits #endif /* _I386_KEXEC_H_ */
39