Issue
This Content is from Stack Overflow. Question asked by user8292736
Is there a way to block other UEFI RT services from running when I execute a Linux program that calls the UEFI RT service? Either from the linux side or from the UEFI side is ok (Both are written in C).
That is, when my program executes, it calls UEFI RT service to perform task A. I don’t know what other tasks are. There may be ABCDEFG tasks that call the RT service. However, I only want A to be executed.
The reason behind this is that some other RT service(s) is causing data corruption to the output of my program but I don’t know which one. And I have no access to the source code.
Solution
In general, UEFI runs on cooperative multitasking, so there should not be interruptions to the UEFI code, unless code with higher IRQ needs to run. that also should not create interference.
probably your problem lies elsewhere.
This Question was asked in StackOverflow by user8292736 and Answered by lior It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.