Searched refs:chosenh (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/stand/powerpc/boot1.chrp/
H A Dboot1.c86 ofwh_t chosenh; variable
128 chosenh = ofw_finddevice("/chosen");
129 ofw_getprop(chosenh, "stdin", &stdinh, sizeof(stdinh));
130 ofw_getprop(chosenh, "stdout", &stdouth, sizeof(stdouth));
131 ofw_getprop(chosenh, "bootargs", bootargs, sizeof(bootargs));
132 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath));
458 ofw_setprop(chosenh, "bootargs", bootpath_full, len+2);
/freebsd-11-stable/stand/sparc64/boot1/
H A Dboot1.c105 ofwh_t chosenh; local
112 chosenh = ofw_finddevice("/chosen");
113 ofw_getprop(chosenh, "stdin", &stdinh, sizeof(stdinh));
114 ofw_getprop(chosenh, "stdout", &stdouth, sizeof(stdouth));
115 ofw_getprop(chosenh, "bootargs", bootargs, sizeof(bootargs));
116 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath));

Completed in 68 milliseconds