Home
last modified time | relevance | path

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

/external/syslinux/efi/
Dwrapper.c53 struct extra_hdr_pe32p e_hdr_pe32p; in write_header() local
113 c_hdr.optional_hdr_sz = sizeof(o_hdr_pe32p) + sizeof(e_hdr_pe32p); in write_header()
123 memset(&e_hdr_pe32p, 0, sizeof(e_hdr_pe32p)); in write_header()
124 e_hdr_pe32p.section_align = 4096; in write_header()
125 e_hdr_pe32p.file_align = 512; in write_header()
126 e_hdr_pe32p.image_sz = hdr_sz + so_memsz; in write_header()
127 e_hdr_pe32p.headers_sz = hdr_sz; in write_header()
128 e_hdr_pe32p.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION; in write_header()
129 e_hdr_pe32p.rva_and_sizes_nr = sizeof(e_hdr_pe32p.data_directory) / sizeof(__uint64_t); in write_header()
130 fwrite(&e_hdr_pe32p, sizeof(e_hdr_pe32p), 1, f); in write_header()