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