Home
last modified time | relevance | path

Searched refs:stack_frame_size (Results 1 – 3 of 3) sorted by relevance

/external/syslinux/com32/modules/
Dpmload.c71 addr_t stack_frame_size; in boot_raw() local
114 stack_frame_size = argsize + argc * sizeof(char *) + 5 * sizeof(long); in boot_raw()
115 stack_frame_size = (stack_frame_size + 15) & ~15; in boot_raw()
116 stack_frame = calloc(stack_frame_size, 1); in boot_raw()
126 if (llen < stack_frame_size + MIN_STACK + 16) in boot_raw()
130 stack_pointer = (lstart + llen - stack_frame_size) & ~15; in boot_raw()
133 stack_pointer, stack_frame_size); in boot_raw()
154 if (syslinux_memmap_type(amap, stack_pointer, stack_frame_size) in boot_raw()
161 if (syslinux_add_memmap(&amap, stack_pointer, stack_frame_size, SMT_ALLOC)) in boot_raw()
165 stack_frame_size)) in boot_raw()
Delf.c73 addr_t stack_frame_size; in boot_elf() local
180 stack_frame_size = argsize + argc * sizeof(char *) + 5 * sizeof(long); in boot_elf()
181 stack_frame_size = (stack_frame_size + 15) & ~15; in boot_elf()
182 stack_frame = calloc(stack_frame_size, 1); in boot_elf()
192 if (llen < stack_frame_size + MIN_STACK + 16) in boot_elf()
196 stack_pointer = (lstart + llen - stack_frame_size) & ~15; in boot_elf()
199 stack_pointer, stack_frame_size); in boot_elf()
220 if (syslinux_memmap_type(amap, stack_pointer, stack_frame_size) in boot_elf()
227 if (syslinux_add_memmap(&amap, stack_pointer, stack_frame_size, SMT_ALLOC)) in boot_elf()
231 stack_frame_size)) in boot_elf()
/external/syslinux/com32/gdbstub/
Dmain.c64 size_t stack_frame_size = sizeof(struct com32_sys_args) + 4; in reloc_entry() local
75 module_esp = (ri->reloc_base - stack_frame_size) & ~15; in reloc_entry()
76 memcpy((void *)module_esp, (void *)ri->old_esp, stack_frame_size); in reloc_entry()