MCPcopy Create free account
hub / github.com/F-Stack/f-stack / arm_parse_fdt_bootargs

Function arm_parse_fdt_bootargs

freebsd/arm/arm/machdep_boot.c:173–183  ·  view source on GitHub ↗

* Called for armv6 and newer. */

Source from the content-addressed store, hash-verified

171 * Called for armv6 and newer.
172 */
173void arm_parse_fdt_bootargs(void)
174{
175
176#ifdef FDT
177 if (loader_envp == NULL && fdt_get_chosen_bootargs(linux_command_line,
178 LBABI_MAX_COMMAND_LINE) == 0) {
179 init_static_kenv(static_kenv, sizeof(static_kenv));
180 cmdline_set_env(linux_command_line, CMDLINE_GUARD);
181 }
182#endif
183}
184
185/*
186 * Called for armv[45].

Callers 1

initarmFunction · 0.85

Calls 2

init_static_kenvFunction · 0.85
cmdline_set_envFunction · 0.70

Tested by

no test coverage detected