Changeset View
Changeset View
Standalone View
Standalone View
stand/common/boot.c
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | if (fp->f_args != NULL) | ||||
free(fp->f_args); | free(fp->f_args); | ||||
fp->f_args = unargv(argc - 1, argv + 1); | fp->f_args = unargv(argc - 1, argv + 1); | ||||
} | } | ||||
/* Hook for platform-specific autoloading of modules */ | /* Hook for platform-specific autoloading of modules */ | ||||
if (archsw.arch_autoload() != 0) | if (archsw.arch_autoload() != 0) | ||||
return(CMD_ERROR); | return(CMD_ERROR); | ||||
#ifdef LOADER_VERIEXEC | |||||
verify_pcr_export(); /* for measured boot */ | |||||
#endif | |||||
/* Call the exec handler from the loader matching the kernel */ | /* Call the exec handler from the loader matching the kernel */ | ||||
file_formats[fp->f_loader]->l_exec(fp); | file_formats[fp->f_loader]->l_exec(fp); | ||||
return(CMD_ERROR); | return(CMD_ERROR); | ||||
} | } | ||||
/* | /* | ||||
* Autoboot after a delay | * Autoboot after a delay | ||||
▲ Show 20 Lines • Show All 326 Lines • Show Last 20 Lines |