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

/systemd/src/boot/efi/
H A Dpefile.c71 struct DosFileHeader dos; local
83 len = sizeof(dos);
84 err = uefi_call_wrapper(handle->Read, 3, handle, &len, &dos);
87 if (len != sizeof(dos)) {
92 if (CompareMem(dos.Magic, "MZ", 2) != 0) {
97 err = uefi_call_wrapper(handle->SetPosition, 2, handle, dos.ExeHeader);
138 err = uefi_call_wrapper(handle->SetPosition, 2, handle, dos.ExeHeader + sizeof(magic) + sizeof(pe) + pe.SizeOfOptionalHeader);

Completed in 521 milliseconds