diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-12-05 17:40:15 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-12-05 23:59:58 +0000 |
commit | 335615c4cad79765b46048bfa782120fd9cadb95 (patch) | |
tree | edfc120cd600a011aa0b0204ce088f73f55931a4 /stand/common | |
parent | 08e5f519b21dfcc7543c41c14d066b2d015fbf5c (diff) |
stand: update prototypes for md_load and md_load64
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
Diffstat (limited to 'stand/common')
-rw-r--r-- | stand/common/modinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stand/common/modinfo.h b/stand/common/modinfo.h index e4739df0b68f..967367beeeb0 100644 --- a/stand/common/modinfo.h +++ b/stand/common/modinfo.h @@ -6,6 +6,9 @@ #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); |