Page MenuHomeFreeBSD

stand: Create common gen_setcurrdev and replace code
ClosedPublic

Authored by imp on Jan 10 2023, 12:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 25, 9:42 PM
Unknown Object (File)
Wed, Dec 17, 5:37 PM
Unknown Object (File)
Fri, Dec 12, 5:48 PM
Unknown Object (File)
Nov 21 2025, 9:28 AM
Unknown Object (File)
Nov 21 2025, 12:17 AM
Unknown Object (File)
Nov 21 2025, 12:15 AM
Unknown Object (File)
Nov 21 2025, 12:12 AM
Unknown Object (File)
Nov 21 2025, 12:07 AM

Details

Summary

Replace 4 identical copies of *_setcurrdev with gen_setcurrdev to avoid
having to create a 5th copy. uboot_setcurrdev is actually different and
needs to remain separate (even though it's quite similar).

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Jan 10 2023, 12:18 AM
This revision is now accepted and ready to land.Jan 11 2023, 12:15 AM
fuz added a subscriber: fuz.

Tested ok on arm64. Changes look fine.

imp retitled this revision from stand: Create common gen_setcurrdev and remplace code to stand: Create common gen_setcurrdev and replace code.Jan 11 2023, 10:08 PM