On 2/7/23 01:20, Michael Brown wrote:

Is PcdGet32() guaranteed to be a compile-time constant?  If not, then it's probably a good idea to read it once upon initialisation, rather than once per timer interrupt handler invocation.

There's an explicit compile-time version, FixedPcdGet32.

--
Rebecca Cran


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


Reply via email to