MCPcopy Create free account
hub / github.com/coreboot/coreboot / set_params

Function set_params

util/nvramtool/cli/nvramtool.c:678–684  ·  view source on GitHub ↗

* set_params * * Set coreboot parameters according to the contents of file 'f'. ****************************************************************************/

Source from the content-addressed store, hash-verified

676 * Set coreboot parameters according to the contents of file 'f'.
677 ****************************************************************************/
678static void set_params(FILE * f)
679{ /* First process the input file. Then perform writes only if there were
680 * no problems processing the input. Either all values will be written
681 * successfully or no values will be written.
682 */
683 do_cmos_writes(process_input_file(f));
684}
685
686/****************************************************************************
687 * parse_assignment

Callers 2

op_cmos_set_params_stdinFunction · 0.85
op_cmos_set_params_fileFunction · 0.85

Calls 2

do_cmos_writesFunction · 0.85
process_input_fileFunction · 0.85

Tested by

no test coverage detected