/illumos-gate/usr/src/boot/sys/boot/ofw/common/ |
H A D | main.c | 36 struct arch_switch archsw; /* MI/MD interface boundary */ variable in typeref:struct:arch_switch 159 archsw.arch_getdev = ofw_getdev; 160 archsw.arch_copyin = ofw_copyin; 161 archsw.arch_copyout = ofw_copyout; 162 archsw.arch_readin = ofw_readin; 163 archsw.arch_autoload = ofw_autoload;
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | main.c | 60 struct arch_switch archsw; /* MI/MD interface boundary */ variable in typeref:struct:arch_switch 124 archsw.arch_autoload = userboot_autoload; 125 archsw.arch_getdev = userboot_getdev; 126 archsw.arch_copyin = userboot_copyin; 127 archsw.arch_copyout = userboot_copyout; 128 archsw.arch_readin = userboot_readin; 130 archsw.arch_zfs_probe = userboot_zfs_probe;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | devopen.c | 41 result = archsw.arch_getdev((void **)&dev, fname, file);
|
H A D | isapnp.c | 40 #define inb(x) (archsw.arch_isainb((x))) 41 #define outb(x,y) (archsw.arch_isaoutb((x),(y))) 282 if ((archsw.arch_isainb == NULL) || (archsw.arch_isaoutb == NULL))
|
H A D | misc.c | 72 archsw.arch_copyout(src++, &c, 1); 89 archsw.arch_copyout(str++, cp, 1); 107 archsw.arch_copyin(buf, dest, chunk); 128 if ((size_t)archsw.arch_readin(fd, dest, len) != len) {
|
H A D | load_elf.c | 44 #define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l) 198 * leave dest set to the value calculated by archsw.arch_loadaddr() and 237 if (archsw.arch_loadaddr != NULL) 238 dest = archsw.arch_loadaddr(LOAD_ELF, ehdr, dest); 429 archsw.arch_copyin(ef->firstpage + phdr[i].p_offset, 432 archsw.arch_copyin(ef->firstpage + phdr[i].p_offset, 481 if (archsw.arch_loadseg != NULL) 482 archsw.arch_loadseg(ehdr, phdr + i, off); 593 archsw.arch_copyin(&size, lastaddr, sizeof(size)); 612 result = archsw [all...] |
H A D | ls.c | 168 if (archsw.arch_getdev(NULL, path, &cp)) {
|
H A D | reloc_elf.c | 43 #define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l)
|
H A D | module.c | 325 if (archsw.arch_loadaddr != NULL) 326 dest = archsw.arch_loadaddr(LOAD_RAW, filename, dest); 435 if (archsw.arch_loadaddr != NULL) 436 loadaddr = archsw.arch_loadaddr(LOAD_RAW, name, loadaddr); 442 got = archsw.arch_readin(fd, laddr, 4096); 717 archsw.arch_getdev(NULL, name, &cp);
|
H A D | load_elf_obj.c | 45 #define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l) 140 if (archsw.arch_loadaddr != NULL) 141 dest = archsw.arch_loadaddr(LOAD_ELF, hdr, dest);
|
H A D | boot.c | 103 if (archsw.arch_autoload() != 0)
|
H A D | bootstrap.h | 323 extern struct arch_switch archsw; 325 /* This must be provided by the MD code, but should it be in the archsw? */
|
/illumos-gate/usr/src/boot/sys/boot/i386/loader/ |
H A D | main.c | 65 struct arch_switch archsw; /* MI/MD interface boundary */ variable in typeref:struct:arch_switch 158 archsw.arch_autoload = i386_autoload; 159 archsw.arch_getdev = i386_getdev; 160 archsw.arch_copyin = i386_copyin; 161 archsw.arch_copyout = i386_copyout; 162 archsw.arch_readin = i386_readin; 163 archsw.arch_isainb = isa_inb; 164 archsw.arch_isaoutb = isa_outb; 166 archsw.arch_zfs_probe = i386_zfs_probe;
|
H A D | chain.c | 87 if (archsw.arch_readin(fd, mem, size) != size) {
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | metadata.c | 168 archsw.arch_copyin(ep->ev_name, addr, strlen(ep->ev_name)); 170 archsw.arch_copyin("=", addr, 1); 173 archsw.arch_copyin(ep->ev_value, addr, strlen(ep->ev_value)); 176 archsw.arch_copyin("", addr, 1); 179 archsw.arch_copyin("", addr, 1); 203 archsw.arch_copyin(&x, a, sizeof(x)); \ 211 archsw.arch_copyin(s, a, strlen(s) + 1);\ 223 archsw.arch_copyin(&s, a, sizeof(s)); \ 234 archsw.arch_copyin(mm->md_data, a, mm->md_size);\
|
H A D | main.c | 166 struct arch_switch archsw; variable in typeref:struct:arch_switch 273 * archsw functions 829 archsw.arch_getdev = ofw_getdev; 830 archsw.arch_copyin = sparc64_copyin; 831 archsw.arch_copyout = ofw_copyout; 832 archsw.arch_readin = sparc64_readin; 833 archsw.arch_autoload = sparc64_autoload; 835 archsw.arch_zfs_probe = sparc64_zfs_probe;
|
/illumos-gate/usr/src/boot/sys/boot/uboot/common/ |
H A D | metadata.c | 136 archsw.arch_copyin(ep->ev_name, addr, strlen(ep->ev_name)); 138 archsw.arch_copyin("=", addr, 1); 141 archsw.arch_copyin(ep->ev_value, addr, 145 archsw.arch_copyin("", addr, 1); 148 archsw.arch_copyin("", addr, 1); 172 archsw.arch_copyin(&x, a, sizeof(x)); \ 180 archsw.arch_copyin(s, a, strlen(s) + 1);\ 192 archsw.arch_copyin(&s, a, sizeof(s)); \ 203 archsw.arch_copyin(mm->md_data, a, mm->md_size);\
|
H A D | main.c | 45 struct arch_switch archsw; /* MI/MD interface boundary */ variable in typeref:struct:arch_switch 496 archsw.arch_loadaddr = uboot_loadaddr; 497 archsw.arch_getdev = uboot_getdev; 498 archsw.arch_copyin = uboot_copyin; 499 archsw.arch_copyout = uboot_copyout; 500 archsw.arch_readin = uboot_readin; 501 archsw.arch_autoload = uboot_autoload;
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | bootinfo.c | 127 if ((size_t)archsw.arch_copyin(ep->ev_name, addr, len) != len) 130 if (archsw.arch_copyin("=", addr, 1) != 1) 135 if ((size_t)archsw.arch_copyin(ep->ev_value, addr, len) != len) 139 if (archsw.arch_copyin("", addr, 1) != 1) 144 if (archsw.arch_copyin("", last++, 1) != 1) 168 archsw.arch_copyin(&x, a, sizeof(x)); \ 176 archsw.arch_copyin(s, a, strlen(s) + 1); \ 188 archsw.arch_copyin(&s, a, sizeof(s)); \ 199 archsw.arch_copyin(mm->md_data, a, mm->md_size); \ 378 archsw [all...] |
H A D | main.c | 56 struct arch_switch archsw; /* MI/MD interface boundary */ variable in typeref:struct:arch_switch 197 archsw.arch_autoload = efi_autoload; 198 archsw.arch_getdev = efi_getdev; 199 archsw.arch_copyin = efi_copyin; 200 archsw.arch_copyout = efi_copyout; 201 archsw.arch_readin = efi_readin; 204 archsw.arch_zfs_probe = efi_zfs_probe;
|
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 115 struct arch_switch archsw; /* MI/MD interface boundary */ variable in typeref:struct:arch_switch 259 archsw.arch_autoload = NULL; 260 archsw.arch_getdev = i386_getdev; 261 archsw.arch_copyin = NULL; 262 archsw.arch_copyout = NULL; 263 archsw.arch_readin = NULL; 264 archsw.arch_isainb = NULL; 265 archsw.arch_isaoutb = NULL; 266 archsw.arch_zfs_probe = i386_zfs_probe;
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | linux.c | 212 if (archsw.arch_readin(fd, linux_data_tmp_addr+sizeof (lh), n) != n) { 227 if (archsw.arch_readin(fd, mem, text) != text) {
|
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 203 archsw.arch_copyin(src, dest, len); 226 archsw.arch_copyout(src, dest, len);
|
/illumos-gate/usr/src/boot/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 55 #define COPYOUT(s,d,l) archsw.arch_copyout(s, d, l) 56 #define COPYIN(s,d,l) archsw.arch_copyin(s, d, l)
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfs.c | 393 if (archsw.arch_zfs_probe == NULL) 395 archsw.arch_zfs_probe();
|