Searched refs:archsw (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/boot/sys/boot/ofw/common/
H A Dmain.c36 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 Dmain.c60 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 Ddevopen.c41 result = archsw.arch_getdev((void **)&dev, fname, file);
H A Disapnp.c40 #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 Dmisc.c72 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 Dload_elf.c44 #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 Dls.c168 if (archsw.arch_getdev(NULL, path, &cp)) {
H A Dreloc_elf.c43 #define COPYOUT(s,d,l) archsw.arch_copyout((vm_offset_t)(s), d, l)
H A Dmodule.c325 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 Dload_elf_obj.c45 #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 Dboot.c103 if (archsw.arch_autoload() != 0)
H A Dbootstrap.h323 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 Dmain.c65 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 Dchain.c87 if (archsw.arch_readin(fd, mem, size) != size) {
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dmetadata.c168 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 Dmain.c166 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 Dmetadata.c136 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 Dmain.c45 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 Dbootinfo.c127 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 Dmain.c56 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 Dzfsboot.c115 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 Dlinux.c212 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 Dloader.c203 archsw.arch_copyin(src, dest, len);
226 archsw.arch_copyout(src, dest, len);
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c55 #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 Dzfs.c393 if (archsw.arch_zfs_probe == NULL)
395 archsw.arch_zfs_probe();

Completed in 143 milliseconds

12