/external/syslinux/com32/include/syslinux/ |
D | movebits.h | 8 typedef uint32_t addr_t; typedef 15 addr_t dst; 16 addr_t src; 17 addr_t len; 42 addr_t start; 65 addr_t dst, addr_t src, addr_t len); 67 addr_t dst, addr_t len); 70 addr_t entry_point, addr_t entry_type, 79 addr_t start, addr_t len, 82 addr_t start, addr_t len); [all …]
|
D | memscan.h | 35 typedef int (*scan_memory_callback_t) (void *, addr_t, addr_t,
|
/external/syslinux/com32/lib/syslinux/ |
D | zonelist.c | 77 addr_t start, addr_t len, in syslinux_add_memmap() 80 addr_t last; in syslinux_add_memmap() 163 addr_t start, addr_t len) in syslinux_memmap_type() 165 addr_t last, llast; in syslinux_memmap_type() 196 addr_t * start, addr_t * len) in syslinux_memmap_largest() 198 addr_t size, best_size = 0; in syslinux_memmap_largest() 232 addr_t *start, addr_t len, in syslinux_memmap_highest() 233 addr_t ceiling, addr_t align) in syslinux_memmap_highest() 235 addr_t size, best; in syslinux_memmap_highest() 273 addr_t * start, addr_t * len, addr_t align) in syslinux_memmap_find_type() [all …]
|
D | load_linux.c | 95 struct initramfs *initramfs, addr_t addr) in map_initramfs() 98 addr_t next_addr, len, pad; in map_initramfs() 113 if (syslinux_add_movelist(fraglist, addr, (addr_t) ip->data, len)) in map_initramfs() 129 size_t cmdline_size, addr_t base, in calc_cmdline_offset() 130 addr_t start) in calc_cmdline_offset() 159 addr_t real_mode_base, prot_mode_base, prot_mode_max; in bios_boot_linux() 160 addr_t irf_size; in bios_boot_linux() 243 prot_mode_max = (hdr.loadflags & LOAD_HIGH) ? (addr_t)-1 : 0x8ffff; in bios_boot_linux() 335 if (syslinux_add_movelist(&fraglist, real_mode_base, (addr_t) kernel_buf, in bios_boot_linux() 353 (addr_t) cmdline, cmdline_size)) { in bios_boot_linux() [all …]
|
D | movebits.c | 55 static struct syslinux_movelist *new_movelist(addr_t dst, addr_t src, in new_movelist() 56 addr_t len) in new_movelist() 86 add_freelist(struct syslinux_memmap **mmap, addr_t start, in add_freelist() 87 addr_t len, enum syslinux_memmap_types type) in add_freelist() 97 static struct syslinux_movelist **split_movelist(addr_t start, addr_t len, in split_movelist() 108 addr_t l = start - ml->src; in split_movelist() 121 addr_t l = ml->len - len; in split_movelist() 150 *list, addr_t start, in is_free_zone() 151 addr_t len) in is_free_zone() 153 addr_t last, llast; in is_free_zone() [all …]
|
D | shuffle.c | 60 addr_t entry_point, addr_t entry_type, in syslinux_do_shuffle() 70 addr_t desczone, descfree, descaddr; in syslinux_do_shuffle() 118 addr_t descmem = desc_blocks * in syslinux_do_shuffle() 166 addr_t descoffs = descaddr - (addr_t) dbuf; in syslinux_do_shuffle() 189 dp->src = (addr_t) - 1; /* bzero region */ in syslinux_do_shuffle()
|
D | addlist.c | 32 addr_t dst, addr_t src, addr_t len) in syslinux_add_movelist()
|
D | biosboot.c | 36 extern void do_raw_shuffle_and_boot(addr_t, const void *, addr_t); in bios_do_shuffle_and_boot()
|
D | memmap.c | 43 static int syslinux_memory_map_callback(void *map, addr_t start, addr_t len, in syslinux_memory_map_callback()
|
D | shuffle_pm.c | 47 addr_t regstub, stublen; in syslinux_shuffle_boot_pm() 72 if (syslinux_add_movelist(&fraglist, regstub, (addr_t) handoff_code, in syslinux_shuffle_boot_pm()
|
D | shuffle_rm.c | 91 addr_t regstub, stublen; in syslinux_shuffle_boot_rm() 166 if (syslinux_add_movelist(&fraglist, regstub, (addr_t) handoff_code, in syslinux_shuffle_boot_rm()
|
/external/syslinux/com32/mboot/ |
D | map.c | 39 static addr_t mboot_high_water_mark = 0x100000; 50 addr_t map_data(const void *data, size_t len, size_t align, int flags) in map_data() 52 addr_t start = (flags & MAP_HIGH) ? mboot_high_water_mark : 0x2000; in map_data() 53 addr_t pad = (flags & MAP_NOPAD) ? 0 : -len & (align - 1); in map_data() 54 addr_t xlen = len + pad; in map_data() 58 syslinux_add_movelist(&ml, start, (addr_t) data, len) || in map_data() 72 addr_t map_string(const char *string) in map_string() 178 addr_t addr = ph->p_paddr; in map_image() 179 addr_t msize = ph->p_memsz; in map_image() 180 addr_t dsize = min(msize, ph->p_filesz); in map_image() [all …]
|
D | mboot.h | 75 addr_t map_data(const void *data, size_t len, size_t align, int flags); 76 addr_t map_string(const char *string);
|
D | mboot.c | 50 addr_t map_list = 0; in map_modules() 67 addr_t mod_map = 0; in map_modules() 68 addr_t cmd_map = 0; in map_modules()
|
/external/syslinux/com32/modules/ |
D | pmload.c | 61 int boot_raw(void *ptr, size_t len, addr_t where, char **argv) in boot_raw() 67 addr_t argsize; in boot_raw() 69 addr_t lstart, llen; in boot_raw() 71 addr_t stack_frame_size; in boot_raw() 72 addr_t stack_pointer; in boot_raw() 75 addr_t sfa; in boot_raw() 100 if (syslinux_add_movelist(&ml, where, (addr_t) ptr, len)) in boot_raw() 164 if (syslinux_add_movelist(&ml, stack_pointer, (addr_t) stack_frame, in boot_raw() 199 addr_t where; in main()
|
D | elf.c | 69 addr_t argsize; in boot_elf() 71 addr_t lstart, llen; in boot_elf() 73 addr_t stack_frame_size; in boot_elf() 74 addr_t stack_pointer; in boot_elf() 77 addr_t sfa; in boot_elf() 133 addr_t addr = ph->p_paddr; in boot_elf() 134 addr_t msize = ph->p_memsz; in boot_elf() 135 addr_t dsize = min(msize, ph->p_filesz); in boot_elf() 153 (&ml, addr, (addr_t) cptr + ph->p_offset, dsize)) in boot_elf() 230 if (syslinux_add_movelist(&ml, stack_pointer, (addr_t) stack_frame, in boot_elf()
|
D | sdi.c | 113 if (syslinux_add_movelist(&ml, 0x7c00, (addr_t) ptr + hdr->BootCodeOffset, in boot_sdi() 124 if (syslinux_add_movelist(&ml, SDI_LOAD_ADDR, (addr_t) ptr, len)) in boot_sdi()
|
D | pxechn.c | 132 addr_t base; 133 addr_t size; 147 addr_t dosmem = *bios_fbm << 10; /* Technically a low bound */ in do_boot() 150 addr_t endimage; in do_boot() 170 (addr_t) data[i].data, data[i].size)) in do_boot()
|
/external/syslinux/com32/chain/ |
D | options.h | 45 addr_t fseg; 46 addr_t foff; 47 addr_t fip; 48 addr_t sseg; 49 addr_t soff; 50 addr_t sip;
|
D | chain.h | 23 addr_t base; 24 addr_t size;
|
D | utility.h | 46 #define dosmin ((addr_t)0x500u) 47 #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
|
D | options.c | 43 addr_t *seg, in soi_s2n() 44 addr_t *off, in soi_s2n() 45 addr_t *ip, in soi_s2n() 46 addr_t def) in soi_s2n() 48 addr_t segval, offval, ipval, val; in soi_s2n()
|
/external/syslinux/core/mem/ |
D | init.c | 16 int scan_highmem_area(void *data, addr_t start, addr_t len, in scan_highmem_area() 57 addr_t start, end; 63 start = (addr_t)fp;
|
/external/syslinux/core/ |
D | bios.c | 529 addr_t dosmem; in bios_scan_memory() 530 const addr_t bios_data = 0x510; /* Amount to reserve for BIOS data */ in bios_scan_memory() 590 rv = callback(data, (addr_t) start, (addr_t) len, type); in bios_scan_memory() 611 rv = callback(data, (addr_t) 1 << 20, oreg.ecx.w[0] << 10, SMT_FREE); in bios_scan_memory() 616 rv = callback(data, (addr_t) 16 << 20, in bios_scan_memory() 630 rv = callback(data, (addr_t) 1 << 20, oreg.ecx.w[0] << 10, SMT_FREE); in bios_scan_memory()
|
/external/syslinux/com32/elflink/ldlinux/ |
D | chainboot.c | 88 (addr_t)sdi->r.esbx, 16)) in chainboot_file() 143 if (syslinux_add_movelist(&fraglist, 0x7c00, (addr_t)buf, size)) in chainboot_file()
|