Searched defs:image_target (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkimagexx.c60 struct image_target_desc *image_target)
109 if (image_target->elf_target == EM_IA_64 && ELF_ST_TYPE (sym->st_info)
131 struct image_target_desc *image_target)
144 struct image_target_desc *image_target)
151 struct image_target_desc *image_target)
306 struct image_target_desc *image_target)
358 offset, image_target);
361 ELF_R_SYM (info), image_target);
366 switch (image_target->elf_target)
387 - image_target
56 relocate_symbols(Elf_Ehdr *e, Elf_Shdr *sections, Elf_Shdr *symtab_section, Elf_Addr *section_addresses, Elf_Half section_entsize, Elf_Half num_sections, void *jumpers, Elf_Addr jumpers_addr, struct image_target_desc *image_target) argument
130 get_symbol_address(Elf_Ehdr *e, Elf_Shdr *s, Elf_Word i, struct image_target_desc *image_target) argument
143 get_target_address(Elf_Ehdr *e, Elf_Shdr *s, Elf_Addr offset, struct image_target_desc *image_target) argument
150 count_funcs(Elf_Ehdr *e, Elf_Shdr *symtab_section, struct image_target_desc *image_target) argument
300 relocate_addresses(Elf_Ehdr *e, Elf_Shdr *sections, Elf_Addr *section_addresses, Elf_Half section_entsize, Elf_Half num_sections, const char *strtab, char *pe_target, Elf_Addr tramp_off, Elf_Addr got_off, struct image_target_desc *image_target) argument
525 add_fixup_entry(struct fixup_block_list **cblock, grub_uint16_t type, Elf_Addr addr, int flush, Elf_Addr current_address, struct image_target_desc *image_target) argument
619 make_reloc_section(Elf_Ehdr *e, void **out, Elf_Addr *section_addresses, Elf_Shdr *sections, Elf_Half section_entsize, Elf_Half num_sections, const char *strtab, Elf_Addr jumpers, grub_size_t njumpers, struct image_target_desc *image_target) argument
776 is_text_section(Elf_Shdr *s, struct image_target_desc *image_target) argument
789 is_data_section(Elf_Shdr *s, struct image_target_desc *image_target) argument
800 check_elf_header(Elf_Ehdr *e, size_t size, struct image_target_desc *image_target) argument
819 locate_sections(Elf_Shdr *sections, Elf_Half section_entsize, Elf_Half num_sections, const char *strtab, grub_size_t *exec_size, grub_size_t *kernel_sz, grub_size_t *all_align, struct image_target_desc *image_target) argument
894 load_image(const char *kernel_path, grub_size_t *exec_size, grub_size_t *kernel_sz, grub_size_t *bss_size, grub_size_t total_module_size, grub_uint64_t *start, void **reloc_section, grub_size_t *reloc_size, grub_size_t *align, struct image_target_desc *image_target) argument
[all...]
H A Dgrub-mkimage.c50 #define ALIGN_ADDR(x) (ALIGN_UP((x), image_target->voidp_sizeof))
457 #define grub_target_to_host32(x) (grub_target_to_host32_real (image_target, (x)))
458 #define grub_host_to_target32(x) (grub_host_to_target32_real (image_target, (x)))
459 #define grub_target_to_host64(x) (grub_target_to_host64_real (image_target, (x)))
460 #define grub_host_to_target64(x) (grub_host_to_target64_real (image_target, (x)))
461 #define grub_host_to_target_addr(x) (grub_host_to_target_addr_real (image_target, (x)))
462 #define grub_target_to_host16(x) (grub_target_to_host16_real (image_target, (x)))
463 #define grub_host_to_target16(x) (grub_host_to_target16_real (image_target, (x)))
466 grub_target_to_host32_real (struct image_target_desc *image_target, grub_uint32_t in) argument
468 if (image_target
475 grub_target_to_host64_real(struct image_target_desc *image_target, grub_uint64_t in) argument
484 grub_host_to_target64_real(struct image_target_desc *image_target, grub_uint64_t in) argument
493 grub_host_to_target32_real(struct image_target_desc *image_target, grub_uint32_t in) argument
502 grub_target_to_host16_real(struct image_target_desc *image_target, grub_uint16_t in) argument
511 grub_host_to_target16_real(struct image_target_desc *image_target, grub_uint16_t in) argument
520 grub_host_to_target_addr_real(struct image_target_desc *image_target, grub_uint64_t in) argument
529 grub_target_to_host_real(struct image_target_desc *image_target, grub_uint64_t in) argument
652 compress_kernel(struct image_target_desc *image_target, char *kernel_img, size_t kernel_size, char **core_img, size_t *core_size, grub_compression_t comp) argument
699 generate_image(const char *dir, char *prefix, FILE *out, char *mods[], char *memdisk_path, char *config_path, struct image_target_desc *image_target, int note, grub_compression_t comp) argument
1714 struct image_target_desc *image_target = NULL; local
[all...]

Completed in 25 milliseconds