/illumos-gate/usr/src/boot/common/ |
H A D | bootstrap.h | 214 struct preloaded_file; 222 struct preloaded_file *m_fp; 235 struct preloaded_file struct 248 struct preloaded_file *f_next; /* next file */ argument 257 int (*l_load)(char *, uint64_t, struct preloaded_file **); 262 int (*l_exec)(struct preloaded_file *); 266 extern struct preloaded_file *preloaded_files; 272 struct preloaded_file *file_alloc(void); 273 struct preloaded_file *file_findfile(const char *name, const char *type); 274 struct file_metadata *file_findmetadata(struct preloaded_file *fp, int type); [all …]
|
H A D | module.c | 64 static int file_load(char *, vm_offset_t, struct preloaded_file **); 65 static int file_load_dependencies(struct preloaded_file *); 67 static struct kernel_module *file_findmodule(struct preloaded_file *, char *, 71 static void file_insert_tail(struct preloaded_file *); 72 static void file_remove(struct preloaded_file *); 89 struct preloaded_file *preloaded_files = NULL; 150 struct preloaded_file *fp; in command_load() 202 struct preloaded_file *fp; in unload() 227 struct preloaded_file *fp; in command_lsmod() 326 file_load(char *filename, vm_offset_t dest, struct preloaded_file **result) in file_load() [all …]
|
H A D | load_elf_obj.c | 65 static int __elfN(obj_loadimage)(struct preloaded_file *mp, elf_file_t ef, 67 static int __elfN(obj_lookup_set)(struct preloaded_file *mp, elf_file_t ef, 69 static int __elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef, 71 static int __elfN(obj_parse_modmetadata)(struct preloaded_file *mp, 85 struct preloaded_file **result) in __elfN() 87 struct preloaded_file *fp, *kfp; in __elfN() 168 *result = (struct preloaded_file *)fp; in __elfN() 189 __elfN(obj_loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off) in __elfN() 351 __elfN(obj_parse_modmetadata)(struct preloaded_file *fp, elf_file_t ef) in __elfN() 423 __elfN(obj_lookup_set)(struct preloaded_file *fp __unused, elf_file_t ef, in __elfN() [all …]
|
H A D | load_elf.c | 74 static int __elfN(loadimage)(struct preloaded_file *, elf_file_t, uint64_t); 75 static int __elfN(lookup_symbol)(struct preloaded_file *, elf_file_t, 77 static int __elfN(reloc_ptr)(struct preloaded_file *, elf_file_t, 79 static int __elfN(parse_modmetadata)(struct preloaded_file *, elf_file_t, 150 __elfN(loadfile)(char *filename, uint64_t dest, struct preloaded_file **result) in __elfN() 157 struct preloaded_file **result, int multiboot) in __elfN() 159 struct preloaded_file *fp, *kfp; in __elfN() 287 *result = (struct preloaded_file *)fp; in __elfN() 308 __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, uint64_t off) in __elfN() 829 __elfN(load_modmetadata)(struct preloaded_file *fp, uint64_t dest) in __elfN() [all …]
|
H A D | multiboot2.c | 71 static int multiboot2_loadfile(char *, uint64_t, struct preloaded_file **); 72 static int multiboot2_exec(struct preloaded_file *); 133 struct preloaded_file **result) in multiboot2_loadfile() 143 struct preloaded_file *fp; in multiboot2_loadfile() 587 mb_kernel_cmdline(struct preloaded_file *fp, struct devdesc *rootdev, in mb_kernel_cmdline() 674 module_size(struct preloaded_file *fp) in module_size() 677 struct preloaded_file *mfp; in module_size() 734 biossmap_size(struct preloaded_file *fp) in biossmap_size() 749 mbi_size(struct preloaded_file *fp, char *cmdline) in mbi_size() 832 multiboot2_exec(struct preloaded_file *fp) in multiboot2_exec() [all …]
|
H A D | boot.c | 57 struct preloaded_file *fp; in command_boot() 175 struct preloaded_file *fp; in autoboot()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | linux.c | 34 static int linux_loadkernel(char *, u_int64_t, struct preloaded_file **); 35 static int linux_loadinitrd(char *, u_int64_t, struct preloaded_file **); 36 static int linux_exec(struct preloaded_file *); 37 static int linux_execinitrd(struct preloaded_file *); 66 find_real_addr(struct preloaded_file *fp) in find_real_addr() 92 struct preloaded_file **result) in linux_loadkernel() 95 struct preloaded_file *fp; in linux_loadkernel() 276 linux_exec(struct preloaded_file *fp) in linux_exec() 280 struct preloaded_file *mfp = fp->f_next; in linux_exec() 413 struct preloaded_file **result) in linux_loadinitrd() [all …]
|
H A D | elf32_freebsd.c | 41 static int elf32_exec(struct preloaded_file *amp); 42 static int elf32_obj_exec(struct preloaded_file *amp); 53 elf32_exec(struct preloaded_file *fp) in elf32_exec() 80 elf32_obj_exec(struct preloaded_file *fp __unused) in elf32_obj_exec()
|
H A D | multiboot.c | 72 static int multiboot_loadfile(char *, u_int64_t, struct preloaded_file **); 73 static int multiboot_exec(struct preloaded_file *); 75 static int multiboot_obj_loadfile(char *, u_int64_t, struct preloaded_file **); 76 static int multiboot_obj_exec(struct preloaded_file *fp); 83 num_modules(struct preloaded_file *kfp) in num_modules() 96 struct preloaded_file **result) in multiboot_loadfile() 104 struct preloaded_file *fp; in multiboot_loadfile() 231 multiboot_exec(struct preloaded_file *fp) in multiboot_exec() 233 struct preloaded_file *mfp; in multiboot_exec() 449 struct preloaded_file **result) in multiboot_obj_loadfile() [all …]
|
H A D | elf64_freebsd.c | 42 static int elf64_exec(struct preloaded_file *amp); 43 static int elf64_obj_exec(struct preloaded_file *amp); 71 elf64_exec(struct preloaded_file *fp) in elf64_exec() 122 elf64_obj_exec(struct preloaded_file *fp __unused) in elf64_obj_exec()
|
H A D | libi386.h | 106 struct preloaded_file; 107 void bios_addsmapdata(struct preloaded_file *); 148 int mb_kernel_cmdline(struct preloaded_file *, struct devdesc *, char **);
|
H A D | i386_copy.c | 50 addr_verify(struct preloaded_file *fp, vm_offset_t addr, size_t size) in addr_verify() 110 struct preloaded_file *fp, *mfp; in i386_loadaddr()
|
H A D | bootinfo64.c | 104 struct preloaded_file *fp; in bi_copymodules64() 142 struct preloaded_file *xp, *kfp; in bi_load64()
|
H A D | bootinfo32.c | 102 struct preloaded_file *fp; in bi_copymodules32() 136 struct preloaded_file *xp, *kfp; in bi_load32()
|
H A D | biossmap.c | 121 bios_addsmapdata(struct preloaded_file *kfp) in bios_addsmapdata()
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | elf32_freebsd.c | 45 static int elf32_exec(struct preloaded_file *amp); 46 static int elf32_obj_exec(struct preloaded_file *amp); 63 elf32_exec(struct preloaded_file *fp) in elf32_exec() 93 elf32_obj_exec(struct preloaded_file *fp) in elf32_obj_exec()
|
H A D | bootinfo.c | 181 struct preloaded_file *fp; in bi_copymodules() 209 bi_load(struct preloaded_file *fp, uint64_t *bi_addr) in bi_load() 212 struct preloaded_file *xp; in bi_load()
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/ |
H A D | exec.c | 54 static int elf64_exec(struct preloaded_file *amp); 55 static int elf64_obj_exec(struct preloaded_file *amp); 70 elf64_exec(struct preloaded_file *fp) in elf64_exec() 136 elf64_obj_exec(struct preloaded_file *fp) in elf64_obj_exec()
|
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/ |
H A D | elf64_freebsd.c | 57 static int elf64_exec(struct preloaded_file *amp); 58 static int elf64_obj_exec(struct preloaded_file *amp); 94 elf64_exec(struct preloaded_file *fp) in elf64_exec() 188 elf64_obj_exec(struct preloaded_file *fp __attribute((unused))) in elf64_obj_exec()
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm/ |
H A D | exec.c | 51 struct preloaded_file **result) in __elfN() 63 __elfN(arm_exec)(struct preloaded_file *fp) in __elfN()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 211 struct preloaded_file *fp; in bi_copymodules() 239 bi_load_efi_data(struct preloaded_file *kfp) in bi_load_efi_data() 341 struct preloaded_file *xp, *kfp; in bi_load()
|
H A D | loader_efi.h | 71 void efi_addsmapdata(struct preloaded_file *);
|
H A D | memmap.c | 156 efi_addsmapdata(struct preloaded_file *kfp) in efi_addsmapdata()
|
/illumos-gate/usr/src/boot/forth/ |
H A D | support.4th | 136 \ Internal loader structures (preloaded_file, kernel_module, file_metadata) 138 structure: preloaded_file 147 ptr pf.next \ preloaded_file 153 ptr km.fp \ preloaded_file
|
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 400 struct preloaded_file *fp; in ficlFindfile()
|