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