flat_hdr 53 modules/dbg_dump.c flat_hdr h; flat_hdr 143 modules/dbg_dump.c memcpy(&pb->mi.h,m->hdr,sizeof(flat_hdr)); flat_hdr 205 modules/module_load.c static int module_do_relocations(flat_hdr* flat, void* relocbuf, uint32_t reloc_count) flat_hdr 248 modules/module_load.c static int module_do_imports(flat_hdr* flat, void* relocbuf, uint32_t import_count) flat_hdr 277 modules/module_load.c static int module_do_action(int fd, flat_hdr* mod, uint32_t offset, uint32_t segment_size, int (*func)(flat_hdr*, void*, uint32_t)) flat_hdr 468 modules/module_load.c static char* load_module_file(int fd, const char* name, int size, int bss_size, flat_hdr** flat_buf) flat_hdr 470 modules/module_load.c *flat_buf = (flat_hdr*)malloc(size+bss_size); flat_hdr 494 modules/module_load.c static char* link_module(int fd, flat_hdr* flat_buf) flat_hdr 518 modules/module_load.c flat_hdr* module_preload(const char *path, const char *name, _version_t ver) flat_hdr 529 modules/module_load.c flat_hdr flat; flat_hdr 536 modules/module_load.c flat_hdr* flat_buf = 0; flat_hdr 620 modules/module_load.c flat_hdr* mod = module_preload(path, hMod->name, hMod->version); flat_hdr 854 modules/module_load.c flat_hdr flat; flat_hdr 855 modules/module_load.c read(fd, (char*)&flat, sizeof(flat_hdr)); flat_hdr 28 modules/module_load.h flat_hdr* hdr; // memory allocated for module, 0 if not used flat_hdr 36 modules/module_load.h flat_hdr* module_preload(const char *path, const char *name, _version_t ver); flat_hdr 676 modules/user_menu_edit.c flat_hdr* mod = module_preload(fn, fn, v); // Pass fn as both path and name (file browser sends us full path to module) flat_hdr 42 tools/elf2flt/elfflt.c flat_hdr* flat; // point to flat_buf, but casted to header flat_hdr 562 tools/elf2flt/elfflt.c int flatmainsize = sizeof(flat_hdr)+text.size+div0hack_size+data.size+rodata.size; flat_hdr 581 tools/elf2flt/elfflt.c flat = (flat_hdr*) flat_buf; flat_hdr 585 tools/elf2flt/elfflt.c int offset=sizeof(flat_hdr); flat_hdr 734 tools/elf2flt/elfflt.c dump_section( "FLT_header", (unsigned char*)flat_buf, sizeof(flat_hdr) ); flat_hdr 46 tools/elf2flt/elfflt.h extern flat_hdr* flat; flat_hdr 14 tools/elf2flt/fltdump.c flat_hdr* flat; flat_hdr 95 tools/elf2flt/fltdump.c flat = (flat_hdr*) b_get_buf(); flat_hdr 167 tools/elf2flt/fltdump.c dump_section( "FLT_header", flat_buf, sizeof(flat_hdr) );