Page MenuHomeFreeBSD

stand: Move md_copymodules into modinfo.c and reduce copies
ClosedPublic

Authored by imp on Sep 14 2022, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 3, 9:31 AM
Unknown Object (File)
Tue, May 13, 7:08 PM
Unknown Object (File)
Apr 27 2025, 11:45 PM
Unknown Object (File)
Apr 22 2025, 11:58 PM
Unknown Object (File)
Apr 19 2025, 8:55 PM
Unknown Object (File)
Apr 19 2025, 7:07 PM
Unknown Object (File)
Apr 9 2025, 9:18 PM
Unknown Object (File)
Mar 22 2025, 12:40 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable