Searched refs:ehdr (Results 1 – 10 of 10) sorted by relevance
/xen/tools/libxc/ |
A D | xc_core.c | 241 memset(ehdr, 0, sizeof(*ehdr)); in xc_core_ehdr_init() 252 ehdr->e_type = ET_CORE; in xc_core_ehdr_init() 255 ehdr->e_entry = 0; in xc_core_ehdr_init() 256 ehdr->e_phoff = 0; in xc_core_ehdr_init() 257 ehdr->e_shoff = sizeof(*ehdr); in xc_core_ehdr_init() 259 ehdr->e_ehsize = sizeof(*ehdr); in xc_core_ehdr_init() 261 ehdr->e_phnum = 0; in xc_core_ehdr_init() 452 Elf64_Ehdr ehdr; in xc_domain_dumpcore_via_callback() local 591 xc_core_ehdr_init(&ehdr); in xc_domain_dumpcore_via_callback() 631 offset = sizeof(ehdr); in xc_domain_dumpcore_via_callback() [all …]
|
A D | xc_dom_elfloader.c | 57 uint64_t machine = elf_uval(elf, elf->ehdr, e_machine); in xc_dom_guest_type()
|
A D | xc_dom_hvmloader.c | 231 dom->parms.phys_entry = elf_uval(elf, elf->ehdr, e_entry); in xc_dom_load_hvm_kernel()
|
/xen/tools/firmware/hvmloader/ |
A D | 32bitbios_support.c | 36 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)elfarray; in relocate_32bitbios() local 37 Elf32_Shdr *shdr = (Elf32_Shdr *)&elfarray[ehdr->e_shoff]; in relocate_32bitbios() 46 for ( i = 0; i < ehdr->e_shnum; i++ ) in relocate_32bitbios() 79 for ( i = 0; i < ehdr->e_shnum; i++ ) in relocate_32bitbios() 104 for ( i = 0; i < ehdr->e_shnum; i++ ) in relocate_32bitbios()
|
/xen/xen/common/libelf/ |
A D | libelf-tools.c | 132 unsigned count = elf_uval(elf, elf->ehdr, e_shnum); in elf_shdr_count() 147 return elf_uval(elf, elf->ehdr, e_phnum); in elf_phdr_count() 178 + elf_uval(elf, elf->ehdr, e_shoff) in elf_shdr_by_index() 179 + elf_uval(elf, elf->ehdr, e_shentsize) * index); in elf_shdr_by_index() 192 + elf_uval(elf, elf->ehdr, e_phoff) in elf_phdr_by_index() 193 + elf_uval(elf, elf->ehdr, e_phentsize) * index); in elf_phdr_by_index() 359 const Elf32_Ehdr *ehdr = image_start; in elf_is_elfbinary() local 361 if ( image_size < sizeof(*ehdr) ) in elf_is_elfbinary() 364 return IS_ELF(*ehdr); in elf_is_elfbinary()
|
A D | libelf-loader.c | 51 elf->ehdr = ELF_MAKE_HANDLE(elf_ehdr, (elf_ptrval)image_input); in elf_init() 52 elf->class = elf_uval_3264(elf, elf->ehdr, e32.e_ident[EI_CLASS]); in elf_init() 53 elf->data = elf_uval_3264(elf, elf->ehdr, e32.e_ident[EI_DATA]); in elf_init() 56 offset = elf_uval(elf, elf->ehdr, e_phoff) + in elf_init() 57 elf_uval(elf, elf->ehdr, e_phentsize) * elf_phdr_count(elf); in elf_init() 66 offset = elf_uval(elf, elf->ehdr, e_shoff) + in elf_init() 67 elf_uval(elf, elf->ehdr, e_shentsize) * elf_shdr_count(elf); in elf_init() 76 section = elf_uval(elf, elf->ehdr, e_shstrndx); in elf_init() 338 ELF_HANDLE_PTRVAL(elf->ehdr), ehdr_size); in elf_load_bsdsyms()
|
A D | libelf-dominfo.c | 368 unsigned machine = elf_uval(elf, elf->ehdr, e_machine); in elf_xen_note_check() 378 if ( elf_uval(elf, elf->ehdr, e_machine) == EM_ARM ) in elf_xen_note_check() 460 parms->virt_entry = elf_uval(elf, elf->ehdr, e_entry); in elf_xen_addr_calc_check()
|
/xen/xen/include/xen/ |
A D | elfstructs.h | 101 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ argument 102 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ 103 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \ 104 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
|
A D | libelf.h | 184 ELF_HANDLE_DECL(elf_ehdr) ehdr;
|
/xen/xen/arch/x86/pv/ |
A D | dom0_build.c | 361 machine = elf_uval(&elf, elf.ehdr, e_machine); in dom0_construct_pv()
|
Completed in 16 milliseconds