On Thu, Jul 24, 2014 at 12:20 AM, Andrew Fish afish@apple.com wrote:
Sorry so I’m confused. What is the issue you are seeing? Why is PcdGet32() returning 0 and not the fixed PCD value?
Thanks,
Andrew Fish
The problem is that even though the PCDs are set to right value in the AutoGen.h files and in the Build Report, PcdGet always returns 0 whereas FixedPcdGet works.
It could be due to what Laszlo suggested earlier, but I already am building for DEBUG. ASSERT() acts as a no-op for me because PcdGet at [1] simply returns 0 and DebugAssertEnabled always fails!
[1] https://github.com/tianocore/edk2/blob/master/MdePkg/Library/BaseDebugLibSer...
Thanks, Varad