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)
Fri, Nov 29, 7:29 PM
Unknown Object (File)
Fri, Nov 29, 5:52 PM
Unknown Object (File)
Tue, Nov 19, 9:56 PM
Unknown Object (File)
Tue, Nov 19, 9:56 PM
Unknown Object (File)
Tue, Nov 19, 9:56 PM
Unknown Object (File)
Tue, Nov 19, 5:40 AM
Unknown Object (File)
Sat, Nov 16, 12:21 AM
Unknown Object (File)
Fri, Nov 15, 10:34 PM
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