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