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

/freebsd-12-stable/stand/powerpc/boot1.chrp/
H A Dboot1.c87 ofwh_t chosenh; variable
129 chosenh = ofw_finddevice("/chosen");
130 ofw_getprop(chosenh, "stdin", &stdinh, sizeof(stdinh));
131 ofw_getprop(chosenh, "stdout", &stdouth, sizeof(stdouth));
132 ofw_getprop(chosenh, "bootargs", bootargs, sizeof(bootargs));
133 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath));
459 ofw_setprop(chosenh, "bootargs", bootpath_full, len+2);
/freebsd-12-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 101 milliseconds