Rebecca Cran
7b82da70ed
MdeModulePkg: Update code to be more C11 compliant by using __func__
...
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.
Since it's more standard, replace __FUNCTION__ with __func__ throughout
MdeModulePkg.
Signed-off-by: Rebecca Cran <[email protected] >
Reviewed-by: Michael D Kinney <[email protected] >
Reviewed-by: Ard Biesheuvel <[email protected] >
2023-04-10 14:19:57 +00:00
Michael Kubacki
1436aea4d5
MdeModulePkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the MdeModulePkg package
Cc: Andrew Fish <[email protected] >
Cc: Leif Lindholm <[email protected] >
Cc: Michael D Kinney <[email protected] >
Signed-off-by: Michael Kubacki <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
2021-12-07 17:24:28 +00:00
Bret Barkelew
f8e6bcb6e7
MdeModulePkg: Initialize temp variable in VarCheckPolicyLib
...
DumpVariablePolicy() will return EFI_INVALID_PARAMETER if the Buffer
pointer is NULL and the indirect Size is anything but 0. Since this
TempSize was not being initialized it is very likely that this sequence
would not return the total buffer size as expected.
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3310
Cc: Jian J Wang <[email protected] >
Cc: Hao A Wu <[email protected] >
Signed-off-by: Bret Barkelew <[email protected] >
Reviewed-by: Hao A Wu <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
2021-04-13 01:24:13 +00:00
Masahisa Kojima and Kun Qin
e2747dbb5a
MdeModulePkg/VarCheckPolicyLib: implement standalone MM version
...
This commit adds the VarCheckPolicyLib that will be able to
execute in the context of standalone MM.
Signed-off-by: Masahisa Kojima <[email protected] >
Co-authored-by: Kun Qin <[email protected] >
Cc: Jian J Wang <[email protected] >
Cc: Hao A Wu <[email protected] >
Cc: Liming Gao <[email protected] >
Cc: Ard Biesheuvel <[email protected] >
Cc: Sami Mujawar <[email protected] >
Cc: Jiewen Yao <[email protected] >
Cc: Supreeth Venkatesh <[email protected] >
Cc: Bret Barkelew <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
2020-12-23 09:13:58 +00:00
Bret Barkelew
483449c9da
MdeModulePkg: Define the VarCheckPolicyLib and SMM interface
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2522
VariablePolicy is an updated interface to
replace VarLock and VarCheckProtocol.
This is an instance of a VarCheckLib that is backed by the
VariablePolicyLib business logic. It also publishes the SMM
calling interface for messages from the DXE protocol.
Cc: Jian J Wang <[email protected] >
Cc: Hao A Wu <[email protected] >
Cc: Liming Gao <[email protected] >
Cc: Bret Barkelew <[email protected] >
Signed-off-by: Bret Barkelew <[email protected] >
Reviewed-by: Dandan Bi <[email protected] >
Acked-by: Jian J Wang <[email protected] >
2020-11-17 01:03:43 +00:00