Page MenuHomeFreeBSD

efi: Only scan the BLKIO MEDIA once
ClosedPublic

Authored by manu on Feb 12 2018, 7:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 7:08 PM
Unknown Object (File)
Feb 27 2024, 7:34 PM
Unknown Object (File)
Dec 24 2023, 6:40 PM
Unknown Object (File)
Dec 20 2023, 4:38 AM
Unknown Object (File)
Nov 29 2023, 8:17 AM
Unknown Object (File)
Nov 29 2023, 8:17 AM
Unknown Object (File)
Nov 29 2023, 8:17 AM
Unknown Object (File)
Nov 29 2023, 8:03 AM
Subscribers
None

Details

Summary

Scan only the BLOCK IO MEDIA once instead of each time for each type of
device (fd, cd and hdd).
Leave the mechanism to free and reprobe all devices if one day we want
to implement a "dev rescan" thing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This looks good to my eye

This revision is now accepted and ready to land.Feb 12 2018, 7:52 PM
stand/efi/loader/main.c
462 ↗(On Diff #39216)

To be honest, if we fail here, we probably should just error out. Would also be much nicer construct than you currently have.

stand/efi/loader/main.c
462 ↗(On Diff #39216)

I really don't like the current design of loader.efi where we return if any EFI error is get, having the standalone efi shell is useful sometimes.

stand/efi/loader/main.c
462 ↗(On Diff #39216)

That's the design we're going with.

However, I added an 'out loop' that will drop down to a prompt if you hit a key I thought when we have an error... Or was that just a local hack... I can't recall...

This revision was automatically updated to reflect the committed changes.