xref: /freebsd/stand/common/modinfo.h (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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