mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 14:21:18 +01:00
fc352701ff
Use the efi's bi_copyenv to md_copyenv and place it in modinfo.c. Remove all other nearly identical and efi's has the best error handling. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D36574
13 lines
272 B
C
13 lines
272 B
C
/*-
|
|
* Copyright (c) 2022, Netflix, Inc.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
#ifndef COMMON_MODINFO_H
|
|
#define COMMON_MODINFO_H
|
|
|
|
vm_offset_t md_copymodules(vm_offset_t addr, bool kern64);
|
|
vm_offset_t md_copyenv(vm_offset_t addr);
|
|
|
|
#endif /* COMMON_MODINFO_H */
|