Home
last modified time | relevance | path

Searched refs:bootops (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/uts/sparc/os/
H A Discsi_boot.c80 if (BOP_GETPROP(bootops, BP_ISCSI_TARGET_IP, in iscsiboot_tgt_prop_read()
96 proplen = BOP_GETPROPLEN(bootops, BP_ISCSI_PORT); in iscsiboot_tgt_prop_read()
98 if (BOP_GETPROP(bootops, BP_ISCSI_PORT, in iscsiboot_tgt_prop_read()
114 proplen = BOP_GETPROPLEN(bootops, BP_ISCSI_LUN); in iscsiboot_tgt_prop_read()
116 if (BOP_GETPROP(bootops, BP_ISCSI_LUN, in iscsiboot_tgt_prop_read()
134 if (BOP_GETPROP(bootops, BP_ISCSI_TPGT, in iscsiboot_tgt_prop_read()
153 if (BOP_GETPROP(bootops, BP_ISCSI_TARGET_NAME, in iscsiboot_tgt_prop_read()
284 proplen = BOP_GETPROPLEN(bootops, BP_HOST_IP); in iscsiboot_nic_prop_read()
286 if (BOP_GETPROP(bootops, BP_HOST_IP, in iscsiboot_nic_prop_read()
303 if (BOP_GETPROP(bootops, BP_ROUTER_IP, in iscsiboot_nic_prop_read()
[all …]
H A Dbootops.c46 struct bootops *bootops; variable
47 struct bootops kbootops;
106 bootops = &kbootops; in bop_init()
633 bootops = (struct bootops *)NULL; in bop_fini()
/illumos-gate/usr/src/uts/intel/sys/
H A Dbootconf.h101 typedef struct bootops { struct
115 caddr_t (*bsys_alloc)(struct bootops *, caddr_t virthint, size_t size, argument
122 void (*bsys_free)(struct bootops *, caddr_t virt, size_t size); argument
127 int (*bsys_getproplen)(struct bootops *, const char *); argument
132 int (*bsys_getprop)(struct bootops *, const char *, void *); argument
138 char *(*bsys_nextprop)(struct bootops *, char *prevprop); argument
148 void (*bsys_doint)(struct bootops *, int, struct bop_regs *); argument
153 caddr_t (*bsys_ealloc)(struct bootops *, caddr_t virthint, size_t size, argument
221 extern struct bootops *bootops;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dbiosdisk.c125 extern struct bootops *bootops; in bios_check_extension_present()
132 BOP_DOINT(bootops, 0x13, &rp); in bios_check_extension_present()
154 extern struct bootops *bootops; in get_dev_params()
177 BOP_DOINT(bootops, 0x13, &rp); in get_dev_params()
209 BOP_DOINT(bootops, 0x13, &rp); in drive_present()
230 BOP_DOINT(bootops, 0x13, &rp); in reset_disk()
265 BOP_DOINT(bootops, 0x13, &rp); in read_firstblock()
290 extern struct bootops *bootops; in is_eltorito()
311 BOP_DOINT(bootops, 0x13, &rp); in is_eltorito()
H A Dstartup.c247 struct bootops *bootops = 0; /* passed in from boot */ variable
248 struct bootops **bootopsp;
791 (void) check_boot_version(BOP_GETVERSION(bootops)); in startup_init()
796 if (BOP_GETPROPLEN(bootops, "prom_debug") >= 0) { in startup_init()
1048 bootops->boot_mem->physinstalled); in startup_memlist()
1066 bootops->boot_mem->rsvdmem); in startup_memlist()
2180 *bootopsp = (struct bootops *)NULL; in startup_end()
2181 bootops = (struct bootops *)NULL; in startup_end()
2946 BOP_GETPROP(bootops, "nodes", prop) < 0 || in get_system_configuration()
2960 BOP_GETPROP(bootops, "kernelbase", prop) < 0 || in get_system_configuration()
[all …]
H A Dgraphics.c101 if (BOP_GETPROPLEN(bootops, "console") != sizeof ("graphics")) in progressbar_init()
103 (void) BOP_GETPROP(bootops, "console", cons); in progressbar_init()
106 if (BOP_GETPROPLEN(bootops, "efi-systab") > 0) in progressbar_init()
H A Dpci_bios.c82 if (BOP_GETPROPLEN(bootops, "efi-systab") > 0) in pci_bios_get_irq_routing()
106 BOP_DOINT(bootops, 0x1a, &regs); in pci_bios_get_irq_routing()
H A Dpci_cfgspace.c271 if (BOP_GETPROPLEN(bootops, "efi-systab") > 0) { in pci_check_bios()
281 BOP_DOINT(bootops, 0x1a, &regs); in pci_check_bios()
H A Dddi_impl.c1846 for (name = BOP_NEXTPROP(bootops, ""); /* get first */ in get_boot_properties()
1848 name = BOP_NEXTPROP(bootops, name)) { /* get next */ in get_boot_properties()
1862 length = BOP_GETPROPLEN(bootops, property_name); in get_boot_properties()
1871 BOP_GETPROP(bootops, property_name, bop_staging_area); in get_boot_properties()
1872 flags = do_bsys_getproptype(bootops, property_name); in get_boot_properties()
1990 length = BOP_GETPROPLEN(bootops, name); in get_vga_properties()
1992 BOP_GETPROP(bootops, name, bop_staging_area); in get_vga_properties()
2012 length = BOP_GETPROPLEN(bootops, name); in get_vga_properties()
2014 BOP_GETPROP(bootops, name, bop_staging_area); in get_vga_properties()
2593 (void) BOP_GETPROP(bootops, in impl_setup_ddi()
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dbootops.c46 struct bootops bootops; variable
57 bootops.bsys_version = BO_VERSION; in setup_bootops()
58 bootops.bsys_1275_call = (uint64_t)boot_fail; in setup_bootops()
59 bootops.bsys_printf = (uint32_t)(uintptr_t)boot_fail; in setup_bootops()
H A Dboot_plat.h60 extern struct bootops bootops;
H A Dbootprop.c118 bgetproplen(struct bootops *bop, char *name) in bgetproplen()
168 bgetprop(struct bootops *bop, char *name, void *buf) in bgetprop()
240 bnextprop(struct bootops *bop, char *prev) in bnextprop()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_boot.c53 struct bootops *bootops, in _kobj_boot() argument
69 kobj_init(syscallp, dvec, bootops, bootaux); in _kobj_boot()
H A Dkobj_crt.S51 /holds address of bootops structure
/illumos-gate/usr/src/uts/common/os/
H A Dautoconf.c157 size = (size_t)BOP_GETPROPLEN(bootops, "mfg-name") + 1; in impl_create_root_class()
159 (void) BOP_GETPROP(bootops, "mfg-name", rootname); in impl_create_root_class()
198 (void) BOP_GETPROP(bootops, "impl-arch-name", platform); in impl_create_root_class()
204 size = (size_t)BOP_GETPROPLEN(bootops, "bootpath"); in impl_create_root_class()
207 (void) BOP_GETPROP(bootops, "bootpath", bootpath_prop); in impl_create_root_class()
211 size = (size_t)BOP_GETPROPLEN(bootops, "fstype"); in impl_create_root_class()
214 (void) BOP_GETPROP(bootops, "fstype", fstype_prop); in impl_create_root_class()
H A Dswapgeneric.c385 proplen = BOP_GETPROPLEN(bootops, "bootp-response"); in loadrootmodules()
388 if (BOP_GETPROP(bootops, "bootp-response", dhcack) == -1) { in loadrootmodules()
401 proplen = BOP_GETPROPLEN(bootops, "netdev-path"); in loadrootmodules()
404 if (BOP_GETPROP(bootops, "netdev-path", in loadrootmodules()
525 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1) in get_bootpath_prop()
533 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) || in get_bootpath_prop()
535 if (BOP_GETPROP(bootops, in get_bootpath_prop()
553 return (BOP_GETPROP(bootops, prop, fstype)); in get_fstype_prop()
857 if (BOP_GETPROP(bootops, BP_ISCSI_NETWORK_BOOTPATH, in load_bootpath_drivers()
1141 proplen = BOP_GETPROPLEN(bootops, BP_BOOTPATH); in netboot_over_iscsi()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dkmdb.h44 struct bootops;
52 typedef int kctl_boot_activate_f(struct bootops *, void *, size_t,
H A Dreboot.h77 struct bootops;
78 extern void bootflags(struct bootops *);
H A Dkobj_impl.h156 struct bootops;
165 struct bootops *bootvec, val_t *bootaux);
170 extern struct bootops *ops;
/illumos-gate/usr/src/uts/sparc/zfs/
H A Dspa_boot.c44 proplen = BOP_GETPROPLEN(bootops, propname); in spa_get_bootprop()
49 if (BOP_GETPROP(bootops, propname, value) == -1) { in spa_get_bootprop()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl.h70 struct bootops *kctl_boot_ops; /* Boot operations (during init only) */
87 struct bootops;
/illumos-gate/usr/src/uts/sun/sys/
H A Dbootconf.h72 typedef struct bootops { struct
222 extern struct bootops *bootops;
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode.c116 return (BOP_ALLOC(bootops, NULL, size, MMU_PAGESIZE)); in ucode_zalloc()
348 len = BOP_GETPROPLEN(bootops, prop); in ucode_check()
362 (void) BOP_GETPROP(bootops, prop, plat); in ucode_check()
H A Ddesctbls.c579 gdt0 = (user_desc_t *)BOP_ALLOC(bootops, (caddr_t)GDT_VA, in init_gdt()
649 gdt0 = (user_desc_t *)BOP_ALLOC(bootops, (caddr_t)GDT_VA, in init_gdt()
968 idt0 = (gate_desc_t *)BOP_ALLOC(bootops, (caddr_t)IDT_VA, in init_desctbls()
1003 idt0 = (gate_desc_t *)BOP_ALLOC(bootops, (caddr_t)IDT_VA, in init_desctbls()
1009 ktss0 = (tss_t *)BOP_ALLOC(bootops, (caddr_t)KTSS_VA, in init_desctbls()
1024 CPU->cpu_m.mcpu_ldt = BOP_ALLOC(bootops, (caddr_t)LDT_VA, in init_desctbls()
/illumos-gate/usr/src/psm/stand/lib/boot/
H A Dinc.flg30 echo_file usr/src/uts/sparc/os/bootops.c

123