xref: /freebsd/stand/common/modinfo.h (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1 /*-
2  * Copyright (c) 2022, Netflix, Inc.
3  *
4  * SPDX-License-Identifier: BSD-2-Clause
5  */
6 #ifndef COMMON_MODINFO_H
7 #define COMMON_MODINFO_H
8 
9 int md_load(char *args, vm_offset_t *modulep, vm_offset_t *dtb);
10 int md_load64(char *args, vm_offset_t *modulep, vm_offset_t *dtb);
11 
12 vm_offset_t md_copymodules(vm_offset_t addr, bool kern64);
13 vm_offset_t md_copyenv(vm_offset_t addr);
14 
15 #endif /* COMMON_MODINFO_H */
16