Hi yangcheng/Pedro,
Thanks for bringing this up. I understand the issue and probably we could just 
keep it simple with a warning instead of an assert. But wanted to mention a 
couple of points:
1. I think initially even in my patchset it was DEBUG message but there was a 
comment to turn it into Assert and I kind of agreed to it thinking that Assert 
is also typically ignored in release mode and comes into effect during debug 
build.
2. It might be okay to keep it that way because at least in debug mode it 
brings it to a developer's notice that the functionality he/she intends to call 
is not implemented by underlying layer.
Whatever we decide, will be applicable to other places in this file as well. 
Pedro IMO, it would be better to have simple warnings instead of injecting NOPS 
as it at least notifies the user about actual underlying behavior.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113406): https://edk2.groups.io/g/devel/message/113406
Mute This Topic: https://groups.io/mt/103150435/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to