BOP_GETPROP
(void) BOP_GETPROP(ops, pname, (void *)prop_buf);
if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
if (BOP_GETPROP(bootops,
if (BOP_GETPROP(bootops,
BOP_GETPROP(ops, "ramdisk_start", (void *)&rd_start) != 0 ||
BOP_GETPROP(ops, "ramdisk_end", (void *)&rd_end) != 0) {
(void) BOP_GETPROP(ops, "console", console);
(void) BOP_GETPROP(ops, "whoami", filename);
if (BOP_GETPROP(ops, "bootargs", kern_bootargs) == -1) {
(void) BOP_GETPROP(ops, "boot-file", kern_bootfile);
(void) BOP_GETPROP(bootops, "mfg-name", rootname);
(void) BOP_GETPROP(bootops, "impl-arch-name", platform);
(void) BOP_GETPROP(bootops, "bootpath", bootpath_prop);
(void) BOP_GETPROP(bootops, "fstype", fstype_prop);
if (BOP_GETPROP(bootops, BP_BOOTPATH, bootpath) > 0) {
if (BOP_GETPROP(bootops, "bootp-response", dhcack) == -1) {
if (BOP_GETPROP(bootops, "netdev-path",
if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
if (BOP_GETPROP(bootops,
return (BOP_GETPROP(bootops, prop, fstype));
if (BOP_GETPROP(bootops, BP_ISCSI_NETWORK_BOOTPATH,
BOP_GETPROP(bootops, "hpet-table", (void *)&hpet_table) != 0) {
BOP_GETPROP(bootops, property_name, bop_staging_area);
BOP_GETPROP(bootops, name, bop_staging_area);
BOP_GETPROP(bootops, name, bop_staging_area);
(void) BOP_GETPROP(bootops,
(void) BOP_GETPROP(bootops,
BOP_GETPROP(bootops, prop_name, str) < 0 ||
BOP_GETPROP(bootops, prop_name, buf) < 0)
(void) BOP_GETPROP(bootops, "console", cons);
BOP_GETPROP(bootops, boot_prop_name, cpu_apicid_array) < 0)
(void) BOP_GETPROP(bootops, "enforce-prot-exec", value);
BOP_GETPROP(bootops, "nodes", prop) < 0 ||
BOP_GETPROP(bootops, "cpus_pernode", prop) < 0 ||
BOP_GETPROP(bootops, "kernelbase", prop) < 0 ||
BOP_GETPROP(bootops, "segmapsize", prop) < 0 ||
BOP_GETPROP(bootops, "segmapfreelists", prop) < 0 ||
BOP_GETPROP(bootops, "segkpsize", prop) < 0 ||
BOP_GETPROP(bootops, "tsc_calibration", tsc_calibration);
(void) BOP_GETPROP(bootops, prop, plat);
if (BOP_GETPROP(bootops, BP_ISCSI_LUN,
if (BOP_GETPROP(bootops, BP_ISCSI_TPGT,
if (BOP_GETPROP(bootops, BP_ISCSI_TARGET_NAME,
if (BOP_GETPROP(bootops, BP_ISCSI_PAR, iscsi_par) > 0) {
if (BOP_GETPROP(bootops, BP_ISCSI_INITIATOR_ID,
if (BOP_GETPROP(bootops, BP_HOST_IP,
if (BOP_GETPROP(bootops, BP_ROUTER_IP,
if (BOP_GETPROP(bootops, BP_SUBNET_MASK,
if (BOP_GETPROP(bootops, BP_ISCSI_NETWORK_BOOTPATH,
if (BOP_GETPROP(bootops, BP_ISCSI_TARGET_IP,
if (BOP_GETPROP(bootops, BP_ISCSI_PORT,
if (BOP_GETPROP(bootops, propname, value) == -1) {