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)
Thu, Dec 12, 9:10 AM
Unknown Object (File)
Wed, Dec 11, 7:34 PM
Unknown Object (File)
Thu, Dec 5, 1:52 AM
Unknown Object (File)
Oct 10 2024, 10:47 AM
Unknown Object (File)
Sep 30 2024, 11:25 PM
Unknown Object (File)
Sep 23 2024, 12:57 PM
Unknown Object (File)
Sep 6 2024, 9:15 PM
Unknown Object (File)
Sep 5 2024, 1:31 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 Skipped
Unit
Tests Skipped

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

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

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

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.