mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 14:21:18 +01:00
335615c4ca
These are declared as extern in a number of files (some with the wrong return type). Centralize this in modinfo.h and remove a few extra stray declarations as well that are no longer used. No functional change. Note: I've not tried to cope with the bi_load() functions which are the same logical thing. These will be handled separately. Sponsored by: Netflix
16 lines
405 B
C
16 lines
405 B
C
/*-
|
|
* Copyright (c) 2022, Netflix, Inc.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
#ifndef COMMON_MODINFO_H
|
|
#define COMMON_MODINFO_H
|
|
|
|
int md_load(char *args, vm_offset_t *modulep, vm_offset_t *dtb);
|
|
int md_load64(char *args, vm_offset_t *modulep, vm_offset_t *dtb);
|
|
|
|
vm_offset_t md_copymodules(vm_offset_t addr, bool kern64);
|
|
vm_offset_t md_copyenv(vm_offset_t addr);
|
|
|
|
#endif /* COMMON_MODINFO_H */
|