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.
Details
Details
- Reviewers
imp tsoome - Commits
- rS329268: efi: Only scan the BLKIO MEDIA once
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
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... |