stand: Create common/modinfo.h
authorWarner Losh <imp@FreeBSD.org>
Fri, 16 Sep 2022 15:08:42 +0000 (09:08 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 16 Sep 2022 15:18:56 +0000 (09:18 -0600)
commitbca9c87b6104219af35ae5ea4a6af098a1631bca
tree0d8604394bac342461bd499aabeee6a1894e46f9
parent8b19d28d68a396b0263e3c13a559a31f70eb3b1d
stand: Create common/modinfo.h

Move all the MOD_xxx macros to this header. Each user of this interface
is currently required to define MOD_ALIGNMENT(l). modinfo was selected
because it sits inbetween modules and metadata and will make it easier
to migrate to new, shared intefaces.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D36571
stand/common/metadata.c
stand/common/modinfo.h [new file with mode: 0644]
stand/efi/loader/bootinfo.c
stand/i386/libi386/bootinfo32.c
stand/i386/libi386/bootinfo64.c
stand/userboot/userboot/bootinfo32.c
stand/userboot/userboot/bootinfo64.c