]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
7 years agoMdePkg BaseLib: Convert Ia32/LShiftU64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:58 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/LShiftU64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/LShiftU64.asm to Ia32/LShiftU64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/MultU64x32.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:58 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/MultU64x32.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/MultU64x32.asm to Ia32/MultU64x32.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/MultU64x64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:58 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/MultU64x64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/MultU64x64.asm to Ia32/MultU64x64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ModU64x32.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:58 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ModU64x32.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ModU64x32.asm to Ia32/ModU64x32.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/Monitor.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:58 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/Monitor.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/Monitor.asm to Ia32/Monitor.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/Mwait.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:58 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/Mwait.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/Mwait.asm to Ia32/Mwait.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadCr0.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadCr0.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadCr0.asm to Ia32/ReadCr0.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadCr2.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadCr2.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadCr2.asm to Ia32/ReadCr2.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadCr3.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadCr3.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadCr3.asm to Ia32/ReadCr3.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadCr4.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadCr4.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadCr4.asm to Ia32/ReadCr4.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr0.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr0.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr0.asm to Ia32/ReadDr0.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr1.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr1.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr1.asm to Ia32/ReadDr1.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr2.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr2.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr2.asm to Ia32/ReadDr2.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr3.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr3.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr3.asm to Ia32/ReadDr3.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr4.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr4.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr4.asm to Ia32/ReadDr4.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr5.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr5.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr5.asm to Ia32/ReadDr5.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr6.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr6.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr6.asm to Ia32/ReadDr6.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDr7.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDr7.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDr7.asm to Ia32/ReadDr7.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadEflags.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadEflags.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadEflags.asm to Ia32/ReadEflags.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm0.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:57 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm0.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm0.asm to Ia32/ReadMm0.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm1.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm1.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm1.asm to Ia32/ReadMm1.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm2.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm2.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm2.asm to Ia32/ReadMm2.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm3.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm3.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm3.asm to Ia32/ReadMm3.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm4.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm4.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm4.asm to Ia32/ReadMm4.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm5.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm5.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm5.asm to Ia32/ReadMm5.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm6.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm6.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm6.asm to Ia32/ReadMm6.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMm7.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMm7.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMm7.asm to Ia32/ReadMm7.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadMsr64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadMsr64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadMsr64.asm to Ia32/ReadMsr64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadCs.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadCs.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadCs.asm to Ia32/ReadCs.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadDs.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadDs.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadDs.asm to Ia32/ReadDs.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadEs.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadEs.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadEs.asm to Ia32/ReadEs.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadFs.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadFs.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadFs.asm to Ia32/ReadFs.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadGs.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadGs.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadGs.asm to Ia32/ReadGs.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadSs.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:56 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadSs.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadSs.asm to Ia32/ReadSs.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadTr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadTr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadTr.asm to Ia32/ReadTr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadGdtr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadGdtr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadGdtr.asm to Ia32/ReadGdtr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadIdtr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadIdtr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadIdtr.asm to Ia32/ReadIdtr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadLdtr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadLdtr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadLdtr.asm to Ia32/ReadLdtr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadTsc.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadTsc.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadTsc.asm to Ia32/ReadTsc.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/ReadPmc.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/ReadPmc.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/ReadPmc.asm to Ia32/ReadPmc.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/RShiftU64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/RShiftU64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/RShiftU64.asm to Ia32/RShiftU64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/RRotU64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/RRotU64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/RRotU64.asm to Ia32/RRotU64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/SetJump.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/SetJump.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/SetJump.asm to Ia32/SetJump.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/SwapBytes64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/SwapBytes64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/SwapBytes64.asm to Ia32/SwapBytes64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMsr64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMsr64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMsr64.asm to Ia32/WriteMsr64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteCr0.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteCr0.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteCr0.asm to Ia32/WriteCr0.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteCr2.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteCr2.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteCr2.asm to Ia32/WriteCr2.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteCr3.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:55 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteCr3.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteCr3.asm to Ia32/WriteCr3.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteCr4.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteCr4.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteCr4.asm to Ia32/WriteCr4.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr0.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr0.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr0.asm to Ia32/WriteDr0.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr1.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr1.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr1.asm to Ia32/WriteDr1.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr2.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr2.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr2.asm to Ia32/WriteDr2.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr3.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr3.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr3.asm to Ia32/WriteDr3.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr4.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr4.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr4.asm to Ia32/WriteDr4.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr5.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr5.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr5.asm to Ia32/WriteDr5.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr6.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr6.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr6.asm to Ia32/WriteDr6.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteDr7.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteDr7.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteDr7.asm to Ia32/WriteDr7.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteGdtr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteGdtr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteGdtr.asm to Ia32/WriteGdtr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteIdtr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteIdtr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteIdtr.asm to Ia32/WriteIdtr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteLdtr.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteLdtr.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteLdtr.asm to Ia32/WriteLdtr.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm0.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm0.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm0.asm to Ia32/WriteMm0.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm1.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:54 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm1.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm1.asm to Ia32/WriteMm1.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm2.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm2.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm2.asm to Ia32/WriteMm2.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm3.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm3.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm3.asm to Ia32/WriteMm3.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm4.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm4.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm4.asm to Ia32/WriteMm4.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm5.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm5.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm5.asm to Ia32/WriteMm5.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm6.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm6.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm6.asm to Ia32/WriteMm6.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/WriteMm7.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/WriteMm7.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/WriteMm7.asm to Ia32/WriteMm7.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/Wbinvd.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/Wbinvd.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/Wbinvd.asm to Ia32/Wbinvd.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/RdRand.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/RdRand.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/RdRand.asm to Ia32/RdRand.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/EnablePaging64.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/EnablePaging64.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/EnablePaging64.asm to Ia32/EnablePaging64.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Convert Ia32/DivU64x64Remainder.asm to NASM
Jordan Justen [Tue, 31 May 2016 01:51:53 +0000 (18:51 -0700)]
MdePkg BaseLib: Convert Ia32/DivU64x64Remainder.asm to NASM

The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/DivU64x64Remainder.asm to Ia32/DivU64x64Remainder.nasm

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
7 years agoMdePkg BaseLib: Remove unused GNU assembly files
Jordan Justen [Wed, 5 Nov 2014 22:09:10 +0000 (14:09 -0800)]
MdePkg BaseLib: Remove unused GNU assembly files

These routines are defined in GccInline.c.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
7 years agoMdePkg BaseLib Thunk16: Add Thunk16 NASM versions for MSFT/INTEL
Jordan Justen [Mon, 1 Sep 2014 17:23:33 +0000 (17:23 +0000)]
MdePkg BaseLib Thunk16: Add Thunk16 NASM versions for MSFT/INTEL

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
7 years agoMdePkg BaseLib Ia32/DivU64x64Remainder: Make _@DivRemU64x64 private
Jordan Justen [Fri, 17 Oct 2014 22:10:05 +0000 (15:10 -0700)]
MdePkg BaseLib Ia32/DivU64x64Remainder: Make _@DivRemU64x64 private

This helps generate proper code when converted to NASM, and there is
also no reason for this symbol to be public.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
7 years agoMdePkg BaseLib X64: Tag MSFT/INTEL for .asm routines in GccInline.c
Jordan Justen [Fri, 17 Oct 2014 19:47:02 +0000 (12:47 -0700)]
MdePkg BaseLib X64: Tag MSFT/INTEL for .asm routines in GccInline.c

Once the MASM code is converted to NASM, it will be linked into GCC
builds. Since GccInline.c provides these routines for GCC, we need to
prevent this linking.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
7 years agoMdePkg BaseLib Ia32 assembly: Specify DWORD sizes
Jordan Justen [Fri, 25 Jul 2014 01:15:13 +0000 (18:15 -0700)]
MdePkg BaseLib Ia32 assembly: Specify DWORD sizes

NASM wants this code to specify a size.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
7 years agoMdePkg BaseLib: EXTERNDEF=>EXTERN in X64/SetJump
Jordan Justen [Thu, 16 Oct 2014 05:55:36 +0000 (22:55 -0700)]
MdePkg BaseLib: EXTERNDEF=>EXTERN in X64/SetJump

NASM doesn't support EXTERNDEF, so convert this to EXTERN.

This will make it easier to convert this code to NASM using an
automated script.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
7 years agoSecurityPkg: AuthVariableLib: Cache UserPhysicalPresent in AuthVariableLib
Zhang, Chao B [Mon, 27 Jun 2016 03:10:07 +0000 (11:10 +0800)]
SecurityPkg: AuthVariableLib: Cache UserPhysicalPresent in AuthVariableLib

AuthVariableLib is updated to cache the UserPhysicalPresent state to global variable. This avoids calling PlatformSecureLib during runtime and makes PhysicalPresent state consistent during one boot.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
7 years agoIntelFsp2Pkg-BaseFspCommonLib: Add funtion to return the reset required status
Yarlagadda, Satya P [Fri, 24 Jun 2016 02:38:02 +0000 (10:38 +0800)]
IntelFsp2Pkg-BaseFspCommonLib: Add funtion to return the reset required status

Added new funtion in FSPCommonLib to update the FSP API return status with
the requested return status and return the control to the boot loader.

Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Satya Yarlagadda <satya.p.yarlagadda@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
7 years agoMdeModulePkg/SetupBrowser: Fix the typo in the comment
Gary Lin [Fri, 24 Jun 2016 09:40:28 +0000 (17:40 +0800)]
MdeModulePkg/SetupBrowser: Fix the typo in the comment

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
7 years agoEdkCompatibilityPkg: Fix the typo in the comment
Gary Lin [Fri, 24 Jun 2016 09:40:29 +0000 (17:40 +0800)]
EdkCompatibilityPkg: Fix the typo in the comment

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
7 years agoMdeModulePkg PiDxeS3BootScriptLib: Use a specific name for mSmst
Star Zeng [Fri, 24 Jun 2016 04:34:59 +0000 (12:34 +0800)]
MdeModulePkg PiDxeS3BootScriptLib: Use a specific name for mSmst

When a driver also uses a same name, there will be a link error:
one or more multiply defined symbols found.
Use a specific name for mSmst to avoid the link error.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
7 years agoMdeModulePkg/UefiBootManagerLib: Fix data in MemoryTypeInformation
Sunny Wang [Thu, 23 Jun 2016 07:45:00 +0000 (15:45 +0800)]
MdeModulePkg/UefiBootManagerLib: Fix data in MemoryTypeInformation

After booting a large-size ISO RAM disk (HTTP boot option pointing to
a ISO file) and reboot system, system will possibly run into the
following ASSERT because the BDS core code doesn't consider the
case that Memory page management (Page.c) would possibly NOT update
current memory usage statistics(CurrentMemoryTypeInformation) if
system allocates a memory buffer with a large number of pages.
ASSERT [DxeCore] u:\MdeModulePkg\Core\Dxe\Gcd\Gcd.c(2273):
Length >= MinimalMemorySizeNeeded

The BDS code block for skipping counting reserved memory occupied
by RAM Disk didn't consider the Memory page management's behavior
mentioned above, which caused that the
CurrentMemoryTypeInformation[Index1].NumberOfPages will be updated
to a "very big value" because RamDiskSizeInPages is bigger than
CurrentMemoryTypeInformation[Index1].NumberOfPages. For example,
NumberOfPages is 0x9000 (current use) and RamDiskSizeInPages is
0xC0000 (ISO image size). The result will become a very big value
0xFFF49000.

Therefore, we need to add a check to prevent BDS core code updating
wrong data (very big value) to MemoryTypeInformation variable. This
code change is a improvement for fixing this issue for most cases.
There is still a corner case even when the memory bins don't include
the RAM disk memory, the memory used by all other modules exceeds
RamDiskSizeInPages. Ray will send the other patch to fix this corner
case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sunny Wang <sunnywang@hpe.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Ruiyu Ni <Ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
7 years agoNetworkPkg: Avoid potential NULL pointer dereference
Jiaxin Wu [Fri, 24 Jun 2016 07:19:44 +0000 (15:19 +0800)]
NetworkPkg: Avoid potential NULL pointer dereference

The commit of 6b16c9e7 removes ASSERT and use error handling
in IpSecDxe driver, but may cause the potential NULL pointer
dereference. So, this patch is used to avoid NULL pointer
dereference.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Zhang Lubo <lubo.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
7 years agoMdeModulePkg: SdMmc: Add delay before eMMC reset
Joe Zhou [Wed, 22 Jun 2016 15:09:11 +0000 (23:09 +0800)]
MdeModulePkg: SdMmc: Add delay before eMMC reset

This delay is necessary for eMMC reset to working properly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Joe Zhou <shjzhou@marvell.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
7 years agoMdeModulePkg: SdMmc: Fix parameters order in EmmcSwitch functions call
Joe Zhou [Wed, 22 Jun 2016 15:09:10 +0000 (23:09 +0800)]
MdeModulePkg: SdMmc: Fix parameters order in EmmcSwitch functions call

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Joe Zhou <shjzhou@marvell.com>
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
7 years agoArmPkg/ArmGicV3Dxe: configure all interrupts as non-secure Group-1
Ard Biesheuvel [Wed, 22 Jun 2016 14:23:57 +0000 (16:23 +0200)]
ArmPkg/ArmGicV3Dxe: configure all interrupts as non-secure Group-1

Reassign all interrupts to non-secure Group-1 if the GIC has its DS
(Disable Security) bit set. In this case, it is safe to assume that we
own the GIC, and that no other firmware has performed any configuration
yet, which means it is up to us to reconfigure the interrupts so they
can be taken by the non-secure firmware.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
7 years agoArmVirtPkg: add FDF definition for empty varstore
Ard Biesheuvel [Tue, 21 Jun 2016 10:23:43 +0000 (12:23 +0200)]
ArmVirtPkg: add FDF definition for empty varstore

Similar to how OVMF implements this, add a FD definition for the varstore
firmware volume and the FTW areas. The template was taken from the file
OvmfPkg/VarStore.fdf.inc, and subsequently modified to accommodate the
differences in NOR flash layout. This affects the FvLength, Checksum and
BlockMap[0] fields in the FV header, the Size field of the varstore header,
and the Crc and WriteQueueSize fields of the FTW header. The event log
region is not used by ArmVirtQemu, so it has been omitted.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
7 years agoMdeModulePkg: Remove NORETURN for PeiCore() and DxeMain() function
Liming Gao [Wed, 22 Jun 2016 07:23:47 +0000 (15:23 +0800)]
MdeModulePkg: Remove NORETURN for PeiCore() and DxeMain() function

PeiCore EntryPoint library _ModuleEntryPoint() will call PeiCore(), then call
CpuDeadLoop (). When NORETURN is added for PeiCore(), MSVC compiler will report
warning C4702: unreachable code for CpuDeadLoop (). And, the warning is treated
as error and cause build break. DxeMain() has the similar issue.

edk2 uses EntryPoint library to wrap every module entry point function except
for SEC. The module entry point is still called by _ModuleEntryPoint(). So,
there will be negative impact to add NORETURN for the module entry point.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
7 years agoMdeModulePkg: Fix the wrong IpSb->State update
Jiaxin Wu [Wed, 22 Jun 2016 09:49:43 +0000 (17:49 +0800)]
MdeModulePkg: Fix the wrong IpSb->State update

This patch is used to fix the wrong IpSb->State update issue.

Issue reproduce steps:
1 .First PXE boot, then boot to shell;
2. ifconfig -s eth0 dhcp (Success);
3. Reboot and do PXE, then boot to shell;
4. ifconfig -s eth0 dhcp (Platform failed to get IP address no matter
   how many times retried.)

Root cause:
On step3 reboot, policy is DHCP (Changed by step2). So, Ip4Dxe driver
will try to get one IP address from DHCP server automatically. Before
it get the IP address successfully, the IpSb->State will be always in
IP4_SERVICE_STARTED status until the Instance->Dhcp4Event is triggered,
then it can be changed to IP4_SERVICE_CONFIGED. But the DHCP process
will be interrupted by PXE boot, which will change the policy to static,
and the Instance->Dhcp4Event will be also closed directly. However,
current implementation doesn't update the IpSb->State to
IP4_SERVICE_UNSTARTED status in such case. So, failure happened.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
7 years agoMdeModulePkg/Bds: Do not boot to UI again when BootNext points to UI
Ruiyu Ni [Tue, 21 Jun 2016 05:04:31 +0000 (13:04 +0800)]
MdeModulePkg/Bds: Do not boot to UI again when BootNext points to UI

Per UEFI spec the successful returning of boot option triggers boot
to UI. But when the BootNext just points to UI, it causes confusing.
So the patch avoids booting to UI again when the BootNext points to
UI.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Amy Chan <amy.chan@intel.com>
7 years agoNetworkPkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.
Zhang Lubo [Wed, 22 Jun 2016 02:25:21 +0000 (10:25 +0800)]
NetworkPkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.

v2:
*Since we have redefined the name of arch types in Dhcp.h for http boot,
it need to change corresponding codes.

Add a new head file Dhcp.h in Mde/Include/IndustryStandard, normalize the
universal option numbers and other network number tags.

Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
7 years agoMedmodulePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.
Zhang Lubo [Wed, 22 Jun 2016 02:25:00 +0000 (10:25 +0800)]
MedmodulePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.

Add a new head file Dhcp.h in Mde/Include/IndustryStandard, normalize the
universal option numbers and other network number tags.

Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
7 years agoMdePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.
Zhang Lubo [Wed, 22 Jun 2016 02:24:33 +0000 (10:24 +0800)]
MdePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.

v2:
*add some new arch types for PXE boot.
refine the definition of arch types for http boot

Add a new head file Dhcp.h in Mde/Include/IndustryStandard, normalize the
universal option numbers and other network number tags.

Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
7 years agoNetworkPkg: Replace ASSERT with error handling in Http boot and IScsi
Zhang Lubo [Tue, 21 Jun 2016 06:40:28 +0000 (14:40 +0800)]
NetworkPkg: Replace ASSERT with error handling in Http boot and IScsi

v2:
*Fix some memory leak issue.

This patch is used to replace ASSERT with error handling in Http boot
Driver and IScsi driver.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com>
7 years agoArmPlatformPkg/NorFlashAuthenticatedDxe: remove this obsolete module
Ard Biesheuvel [Tue, 21 Jun 2016 10:17:34 +0000 (12:17 +0200)]
ArmPlatformPkg/NorFlashAuthenticatedDxe: remove this obsolete module

This module is now identical in functionality to NorFlashDxe, and is no
longer used, so remove it altogether.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
7 years agoArmVirtPkg/ArmVirtQemu: switch secure boot build to NorFlashDxe
Ard Biesheuvel [Tue, 21 Jun 2016 10:14:41 +0000 (12:14 +0200)]
ArmVirtPkg/ArmVirtQemu: switch secure boot build to NorFlashDxe

There is no longer a reason to use a different implementation of
NorFlashDxe for secure boot builds now that the varstore FV header can
carry either gEfiVariableGuid or gEfiAuthenticatedVariableGuid, and the
dependent code has been updated to deal with that. So move the secure
boot capable builds to the common NorFlashDxe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
7 years agoArmPlatformPkg/NorFlashDxe: accept both non-secure and secure varstore GUIDs
Ard Biesheuvel [Tue, 21 Jun 2016 09:57:48 +0000 (11:57 +0200)]
ArmPlatformPkg/NorFlashDxe: accept both non-secure and secure varstore GUIDs

Now that the generic Variable Runtime DXE code no longer distinguishes
between gEfiVariableGuid and gEfiAuthenticatedVariableGuid in the varstore
FV header, we can relax the check in the NOR flash driver to accept either
GUID regardless of whether we are running a secure boot capable build or not.

This also means we can always use gEfiAuthenticatedVariableGuid when we
encounter an empty NOR flash that needs to be initialized before use. So
remove the mNorFlashVariableGuid global from the shared code and from both
versions of NorFlashDxe.inf. This essentially collapses the two drivers into
a single one, which means we can remove NorFlashAuthenticatedDxe entirely
in a subsequent patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
7 years agoMdedulePkg: AtaAtapiPassThru: Remove polling on PxCMD.FR flag setting
Jan D?bro? [Tue, 21 Jun 2016 00:37:06 +0000 (08:37 +0800)]
MdedulePkg: AtaAtapiPassThru: Remove polling on PxCMD.FR flag setting

It is enough to set PxCMD.FRE bit, which cause HBA to post received FISes
into the FIS receive area. According to AHCI Specification, only polling on
PxCMD.FRE to be cleared is necessary, when it is needeed to stop FIS engine
(eg. in order to change PxCMD.FB address).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>