Brandon, You should not modify the .DEC file. It declares the existence of, and a generic default value for, a PCD entry. This is like a system header.
The .DSC file is the project build file and it is the file you should be modifying. The idea is a vendor can send you a package with .DEC files and drivers (.INF) files. You can build a project in a different package that pulls in various other packages and this is done via your custom .DSC file. You can override default values in the 3rd party package in your .DSC file and not need to make any changes in the vendors package. Thanks, Andrew Fish On Nov 5, 2013, at 11:23 AM, Brandon Hansen <[email protected]> wrote: > Good afternoon, > > I am fairly new to UEFI development and have recently enabled Assertions > in my UEFI driver by modifying the flags for the PcdDebugPropertyMask in > MdePkg.dec. However, I was wondering if there is a way to do this in > the driver code that does not require directly modifying the MdePkg.dec > file? I'd rather not modify MdePkg.dec to make updating UEFI versions a > little easier since I would have to re-modify that file after doing an > update. Obviously, setting this flag value would have to be one of the > first things done during compilation and I've looked at things like > PcdSet8(Token, Value) to try and modify the flags of the > PcdDebugPropertyMask, but was unsuccessful. > > I feel I may be missing something that is either easy to do or I am > trying to do something that can't be done, so if anyone can offer some > hints that would be greatly appreciated (including informing me that > what I am trying to do is not really possible). Thank you for your time. > > Brandon Hansen > > This e-mail (and any attachments) is confidential and may be privileged. Any > unauthorized use, copying, disclosure or dissemination of this communication > is prohibited. If you are not the intended recipient, please notify the > sender immediately and delete all copies of the message and its attachments. > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
