Searched refs:cpu_head (Results 1 - 6 of 6) sorted by relevance

/barrelfish-2018-10-04/tools/arm_molly/
H A Dmolly_init32.c88 struct Elf32_Ehdr *cpu_head = (struct Elf32_Ehdr *)kernel; local
90 (struct Elf32_Shdr *)(kernel + (uintptr_t)cpu_head->e_shoff);
91 genvaddr_t elfbase = elf_virtual_base32(cpu_head);
92 rela = elf32_find_section_header_type(symhead, cpu_head->e_shnum, SHT_REL);
93 symtab = elf32_find_section_header_type(symhead, cpu_head->e_shnum, SHT_DYNSYM);
103 mbi->syms.elf.num = cpu_head->e_shnum;
104 mbi->syms.elf.size = cpu_head->e_shentsize;
105 mbi->syms.elf.addr = (uint32_t)kernel+ cpu_head->e_shoff;
106 mbi->syms.elf.shndx = cpu_head->e_shstrndx;
H A Dmolly_init64.c89 struct Elf64_Ehdr *cpu_head = (struct Elf64_Ehdr *)kernel; local
91 (struct Elf64_Shdr *)(kernel + (uintptr_t)cpu_head->e_shoff);
92 genvaddr_t elfbase = elf_virtual_base64(cpu_head);
93 rela = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_RELA);
94 symtab = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_DYNSYM);
104 mbi->syms.elf.num = cpu_head->e_shnum;
105 mbi->syms.elf.size = cpu_head->e_shentsize;
106 mbi->syms.elf.addr = (uint64_t)kernel+ cpu_head->e_shoff;
107 mbi->syms.elf.shndx = cpu_head->e_shstrndx;
/barrelfish-2018-10-04/tools/molly/
H A Dmolly_init.c289 struct Elf64_Ehdr *cpu_head = (struct Elf64_Ehdr *)kernel; local
291 (struct Elf64_Shdr *)(kernel + (uintptr_t)cpu_head->e_shoff);
292 genvaddr_t elfbase = elf_virtual_base64(cpu_head);
294 cpu_head->e_shnum,
297 cpu_head->e_shnum,
310 mbi->syms.elf.num = cpu_head->e_shnum;
311 mbi->syms.elf.size = cpu_head->e_shentsize;
312 mbi->syms.elf.addr = ptr_to_uint32(kernel) + cpu_head->e_shoff;
313 mbi->syms.elf.shndx = cpu_head->e_shstrndx;
/barrelfish-2018-10-04/tools/weever/
H A Dloader.c278 struct Elf64_Ehdr *cpu_head = (struct Elf64_Ehdr *) (uint64_t) kernel->mod_start; local
282 + (uintptr_t) cpu_head->e_shoff);
284 genvaddr_t elfbase = elf_virtual_base64(cpu_head);
286 rela = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_RELA);
288 symtab = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_DYNSYM);
/barrelfish-2018-10-04/usr/drivers/cpuboot/arch/x86/
H A Dboot_arch.c454 struct Elf64_Ehdr *cpu_head,
459 switch (cpu_head->e_machine) {
463 (struct Elf64_Shdr *)(cpu_binary + (uintptr_t)cpu_head->e_shoff);
465 assert(cpu_head->e_shoff != 0);
466 rela = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_RELA);
468 symtab = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_DYNSYM);
625 struct Elf64_Ehdr *cpu_head = (struct Elf64_Ehdr *)cpu_binary; local
628 err = elf_load(cpu_head->e_machine, elfload_allocate, &state,
638 err = relocate_cpu_binary(cpu_binary, cpu_head, state, frameid, arch_page_size);
654 switch (cpu_head
453 relocate_cpu_binary(lvaddr_t cpu_binary, struct Elf64_Ehdr *cpu_head, struct elf_allocate_state state, struct frame_identity frameid, genpaddr_t arch_page_size) argument
[all...]
/barrelfish-2018-10-04/tools/elver/
H A Delver.c281 struct Elf64_Ehdr *cpu_head = (struct Elf64_Ehdr *)kernel->mod_start; local
283 (struct Elf64_Shdr *)(kernel->mod_start + (uintptr_t)cpu_head->e_shoff);
284 genvaddr_t elfbase = elf_virtual_base64(cpu_head);
285 rela = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_RELA);
286 symtab = elf64_find_section_header_type(symhead, cpu_head->e_shnum, SHT_DYNSYM);

Completed in 48 milliseconds