release 3.10
https://sourceforge.net/projects/elilo/files/elilo/elilo-3.10/ (sans a few CVS directories)
This commit is contained in:
parent
34d8003a54
commit
4e87874a03
35 changed files with 412 additions and 235 deletions
6
loader.c
6
loader.c
|
@ -38,12 +38,18 @@ loader_ops_t *
|
|||
loader_probe(CHAR16 *kname)
|
||||
{
|
||||
loader_ops_t *ops;
|
||||
UINTN n = 0;
|
||||
|
||||
for (ops= ldops_list; ops; ops = ops->next) {
|
||||
n++;
|
||||
VERB_PRT(3, Print(L"Probing loader: %s\n", ops->ld_name));
|
||||
if (ops->ld_probe(kname) == 0) {
|
||||
return ops;
|
||||
}
|
||||
}
|
||||
if (!n) {
|
||||
ERR_PRT((L"No loaders registered"));
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue