[edk2] [PATCH v3] BaseTools: Skip module AutoGen by comparing timestamp.

2017-02-23 Thread Derek Lin
Consider BuildOption such as -D AAA=TRUE --pcd BbbPcd=0, add BuildOption meta-file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- BaseTools/Source/Python/AutoGen/AutoGen.py | 136 + BaseTools/Source/Python/AutoGen/GenMake.py |

[edk2] [PATCH v2] BaseTools: Skip module AutoGen by comparing timestamp.

2016-11-20 Thread Derek Lin
.py. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- BaseTools/Source/Python/AutoGen/AutoGen.py | 121 + BaseTools/Source/Python/AutoGen/GenMake.py | 3 + BaseTools/Source/Python/GenFds/FdfParser.py| 4 + .../S

[edk2] [PATCH] BaseTools: Skip module AutoGen by comparing timestamp.

2016-11-17 Thread Derek Lin
F during prebuild, it will not skip any AutoGen because of DSC timestamp is changed. This will require prebuild script not to update meta file when content is not changed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- BaseTools/Source/Python/AutoGen/AutoGen.py

[edk2] [PATCH] BaseTools/Genfds: Fix Guid.xref missing GUIDs defined in Library.

2016-10-26 Thread Derek Lin
The original Guid.xref lost some Guid which only defined in Library. When the library is used by a driver, its Guids were not listed in Guid.xref. Now they will. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- BaseTools/Source/Python/GenFds/GenFds.py | 9

[edk2] [PATCH] SecurityPkg: Reduce DEBUG verbosity in Tcg2Dxe

2016-04-29 Thread Derek Lin
Reduce several DEBUG messages verbosity from INFO to VERBOSE, so that will not see debug message around each driver loading when TPM 2.0 part present. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 13 +++-- 1

[edk2] [PATCH] SecurityPkg/Tpm12CommandLib: Fix Tpm12NvWriteValue cmd.

2016-04-06 Thread Derek Lin
Fix command length endian. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- SecurityPkg/Library/Tpm12CommandLib/Tpm12NvStorage.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/SecurityPkg/Library/Tpm12CommandLib

[edk2] [PATCH] MdeModulePkg: Rescale ConSplitter Absolute Pointer.

2016-03-09 Thread Derek Lin
l device's current point. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- .../Universal/Console/ConSplitterDxe/ConSplitter.c | 43 ++ 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/MdeModulePkg/Universal/Console/C

[edk2] [PATCH v2] SecurityPkg: Fix TPM 1.2 SelfTest command bug.

2016-03-08 Thread Derek Lin
Specify command response length. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- Changes in v2: Fix patch message. --- SecurityPkg/Library/Tpm12CommandLib/Tpm12SelfTest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SecurityPkg/Library

[edk2] [PATCH] SecurityPkg: Fix TPM 1.2 SelfTest command bug. Specify command response length.

2016-03-08 Thread Derek Lin
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- SecurityPkg/Library/Tpm12CommandLib/Tpm12SelfTest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SecurityPkg/Library/Tpm12CommandLib/Tpm12SelfTest.c b/SecurityPkg/Library/Tpm12CommandLib

[edk2] [PATCH v2] MdeModulePkg Variable: Enhance variable performance by reading from existed memory cache.

2015-10-22 Thread Derek Lin
Current variable driver already have memory cache to improve performance. Change the code which read from physical MMIO address to read from memory cache. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- Changes in v2: - change one calculation according to

[edk2] [PATCH] MdeModulePkg Variable: Enhance variable performance by reading from existed memory cache.

2015-10-20 Thread Derek Lin
Current variable driver already have memory cache to improve performance. Change the code which read from physical MMIO address to read from memory cache. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin --- .../Universal/Variable/RuntimeDxe/Variable.c | 49