Re: 回复: Re: [edk2-devel] Is DEBUG output function safe for MP case?

2024-06-05 Thread Yoshinoya
Hi, Jeff/Andrew; Thanks for your help! Appreciates it. best wishes, At 2024-06-04 09:11:50, "Jeff Fan via groups.io" wrote: As Andrew mentioned, DEBUG() is NOT safe for MP. Generally, kernel modules are not suggested to use DEBUG() in AP code becasue they are not the de

回复: Re: [edk2-devel] Is DEBUG output function safe for MP case?

2024-06-03 Thread Jeff Fan via groups.io
As Andrew mentioned, DEBUG() is NOT safe for MP. Generally, kernel modules are not suggested to use DEBUG() in AP code becasue they are not the decision maker on the final DebuLib instance. If you could make sure the DebugLib instance platform selected only based on I/O or MMIO operations, you