I'm writing an UEFI application that should be able to write a lot of data to disk. I'm aware of the FAT-32 file size limitations and number of files per directory etc. That should not be the problem. The memory region I'm trying to write is marked as usable by the memory map und I can read/write to it without problems but after a certain amount of data my vm just reboots without any error messages. The following line makes problems:
uefi_call_wrapper(handle->Write, 3, handle, size, content);
handle is initialized a few lines earlier, size is always max 128MiB and content a valid memory region with read/write access. I've already rewritten the whole thin on Windows with EDK2 and got the same problems.
Can anyone help me with this? Thank you in advance and have a nice evening