Home
last modified time | relevance | path

Searched refs:bootmac (Results 1 – 24 of 24) sorted by relevance

/openbsd/sys/arch/powerpc64/powerpc64/
H A Dautoconf.c47 extern uint8_t *bootmac; in diskconf()
54 if (bootmac) { in diskconf()
59 memcmp(bootmac, ((struct arpcom *)ifp)->ac_enaddr, in diskconf()
H A Dmachdep.c100 uint8_t *bootmac = NULL; variable
882 bootmac = lladdr; in parse_bootmac()
/openbsd/sys/arch/riscv64/riscv64/
H A Dautoconf.c65 extern uint8_t *bootmac; in diskconf()
72 if (bootmac) { in diskconf()
77 memcmp(bootmac, ((struct arpcom *)ifp)->ac_enaddr, in diskconf()
H A Dmachdep.c65 uint8_t *bootmac = NULL; variable
626 bootmac = lladdr; in initriscv()
/openbsd/sys/arch/arm64/arm64/
H A Dautoconf.c77 extern uint8_t *bootmac; in diskconf()
84 if (bootmac) { in diskconf()
89 memcmp(bootmac, ((struct arpcom *)ifp)->ac_enaddr, in diskconf()
H A Dmachdep.c65 uint8_t *bootmac = NULL; variable
892 bootmac = lladdr; in initarm()
/openbsd/sys/arch/armv7/armv7/
H A Dautoconf.c110 extern uint8_t *bootmac; in diskconf()
127 if (bootmac) { in diskconf()
132 memcmp(bootmac, ((struct arpcom *)ifp)->ac_enaddr, in diskconf()
H A Darmv7_machdep.c151 uint8_t *bootmac = NULL; variable
436 bootmac = lladdr; in initarm()
/openbsd/sys/arch/i386/stand/libsa/
H A Dexec_i386.c60 char *bootmac = NULL; variable
97 if (bootmac != NULL) in run_loadfile()
98 addbootarg(BOOTARG_BOOTMAC, sizeof(bios_bootmac_t), bootmac); in run_loadfile()
H A Dpxe.c115 extern char *bootmac; /* To pass to kernel */
232 bootmac = bootplayer.CAddr; in pxe_netif_open()
/openbsd/sys/arch/amd64/stand/pxeboot/
H A Ddevopen.c41 extern char *bootmac; /* Gets passed to kernel for network boot */
109 bootmac = NULL; in devopen()
/openbsd/sys/arch/i386/stand/pxeboot/
H A Ddevopen.c41 extern char *bootmac; /* Gets passed to kernel for network boot */
109 bootmac = NULL; in devopen()
/openbsd/sys/arch/amd64/stand/efiboot/
H A Dexec_i386.c63 char *bootmac = NULL; variable
94 if (bootmac != NULL) in run_loadfile()
95 addbootarg(BOOTARG_BOOTMAC, sizeof(bios_bootmac_t), bootmac); in run_loadfile()
H A Ddev_i386.c86 extern char *bootmac; in devopen()
87 bootmac = NULL; in devopen()
H A Defipxe.c34 extern char *bootmac;
91 bootmac = boothw; in efi_pxeprobe()
/openbsd/sys/arch/amd64/stand/libsa/
H A Dexec_i386.c72 char *bootmac = NULL; variable
114 if (bootmac != NULL) in run_loadfile()
115 addbootarg(BOOTARG_BOOTMAC, sizeof(bios_bootmac_t), bootmac); in run_loadfile()
H A Dpxe.c115 extern char *bootmac; /* To pass to kernel */
232 bootmac = bootplayer.CAddr; in pxe_netif_open()
/openbsd/usr.sbin/vmd/
H A Dloadfile_elf.c273 bios_bootmac_t bm, *bootmac = NULL; in loadfile_elf() local
306 bootmac = &bm; in loadfile_elf()
307 memcpy(bootmac, vm->vm_params.vmc_macs[0], ETHER_ADDR_LEN); in loadfile_elf()
310 bootargsz = push_bootargs(memmap, n, bootmac); in loadfile_elf()
376 push_bootargs(bios_memmap_t *memmap, size_t n, bios_bootmac_t *bootmac) in push_bootargs() argument
402 if (bootmac) { in push_bootargs()
408 memcpy(&ba[i + 3], bootmac, sizeof(bios_bootmac_t)); in push_bootargs()
/openbsd/sys/arch/riscv64/stand/efiboot/
H A Defiboot.c482 char *bootmac = NULL; variable
561 if (bootmac) in efi_makebootargs()
562 fdt_node_add_property(node, "openbsd,bootmac", bootmac, 6); in efi_makebootargs()
886 bootmac = NULL; in devopen()
H A Defipxe.c44 extern char *bootmac;
127 bootmac = boothw; in efi_pxeprobe()
/openbsd/sys/arch/armv7/stand/efiboot/
H A Defiboot.c536 char *bootmac = NULL; variable
592 if (bootmac) in efi_makebootargs()
593 fdt_node_add_property(node, "openbsd,bootmac", bootmac, 6); in efi_makebootargs()
896 bootmac = NULL; in devopen()
H A Defipxe.c44 extern char *bootmac;
127 bootmac = boothw; in efi_pxeprobe()
/openbsd/sys/arch/arm64/stand/efiboot/
H A Defiboot.c600 char *bootmac = NULL; variable
669 if (bootmac) in efi_makebootargs()
670 fdt_node_add_property(node, "openbsd,bootmac", bootmac, 6); in efi_makebootargs()
1003 bootmac = NULL; in devopen()
H A Defipxe.c44 extern char *bootmac;
127 bootmac = boothw; in efi_pxeprobe()