HomeFreeBSD

stand: Move md_copymodules into modinfo.c and reduce copies

Description

stand: Move md_copymodules into modinfo.c and reduce copies

md_copymodules, bi_copymdoules, bi_copymodules32 (x2) and
bi_copymodules64 (x2) are all the same routine... Replace them all with
md_copymodules. This saves about 800 bytes on i386 BIOS loader, which is
a nice bonus.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D36572

Details

Provenance
impAuthored on Sep 16 2022, 3:08 PM
Differential Revision
D36572: stand: Move md_copymodules into modinfo.c and reduce copies
Parents
rGbca9c87b6104: stand: Create common/modinfo.h
Branches
Unknown
Tags
Unknown