Home
last modified time | relevance | path

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

/openbsd-src/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-src/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.c64 uint8_t *bootmac = NULL;
622 len = fdt_node_property(node, "openbsd,bootmac", &prop); in initriscv()
625 bootmac = lladdr; in initriscv()
65 uint8_t *bootmac = NULL; global() variable
/openbsd-src/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-src/sys/arch/arm64/arm64/
H A Dautoconf.c79 extern uint8_t *bootmac; in diskconf()
86 if (bootmac) { in diskconf()
91 memcmp(bootmac, ((struct arpcom *)ifp)->ac_enaddr, in diskconf()
H A Dmachdep.c64 uint8_t *bootmac = NULL;
876 len = fdt_node_property(node, "openbsd,bootmac", &prop); in initarm()
879 bootmac = lladdr; in initarm()
65 uint8_t *bootmac = NULL; global() variable
/openbsd-src/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-src/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-src/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-src/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-src/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-src/usr.sbin/vmd/
H A Dloadfile_elf.c277 bios_bootmac_t bm, *bootmac = NULL; in loadfile_elf()
320 bootmac = &bm; in loadfile_elf()
321 memcpy(bootmac, vm->vm_params.vmc_macs[0], ETHER_ADDR_LEN); in loadfile_elf()
324 bootargsz = push_bootargs(memmap, n, bootmac);
384 * bootmac: optional PXE boot MAC address in push_bootargs()
390 push_bootargs(bios_memmap_t *memmap, size_t n, bios_bootmac_t *bootmac) in push_bootargs()
416 if (bootmac) { in push_bootargs()
422 memcpy(&ba[i + 3], bootmac, sizeof(bios_bootmac_t));
274 bios_bootmac_t bm, *bootmac = NULL; loadfile_elf() local
377 push_bootargs(bios_memmap_t * memmap,size_t n,bios_bootmac_t * bootmac) push_bootargs() argument
/openbsd-src/sys/arch/armv7/stand/efiboot/
H A Defiboot.c538 char *bootmac = NULL; variable
594 if (bootmac) in efi_makebootargs()
595 fdt_node_add_property(node, "openbsd,bootmac", bootmac, 6); in efi_makebootargs()
898 bootmac = NULL; in devopen()
H A Defipxe.c44 extern char *bootmac;
127 bootmac = boothw; in efi_pxeprobe()
/openbsd-src/sys/arch/riscv64/stand/efiboot/
H A Defiboot.c498 char *bootmac = NULL; variable
574 if (bootmac) in efi_makebootargs()
575 fdt_node_add_property(node, "openbsd,bootmac", bootmac, 6); in efi_makebootargs()
899 bootmac = NULL; in devopen()
H A Defipxe.c44 extern char *bootmac;
127 bootmac = boothw; in efi_pxeprobe()
/openbsd-src/sys/arch/arm64/stand/efiboot/
H A Defiboot.c618 char *bootmac = NULL; in efi_makebootargs()
687 if (bootmac) in efi_makebootargs()
688 fdt_node_add_property(node, "openbsd,bootmac", bootmac, 6); in efi_makebootargs()
1018 * Clear bootmac, to signal that we loaded this file from a in efi_memprobe_internal()
1021 bootmac = NULL; in efi_memprobe_internal()
602 char *bootmac = NULL; global() variable
H A Defipxe.c44 extern char *bootmac;
127 bootmac = boothw; in efi_pxeprobe()