On Thu, Jul 24, 2014 at 12:20 AM, Andrew Fish <af...@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/BaseDebugLibSerialPort/DebugLib.c#L200 Thanks, Varad ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel