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>
This commit is contained in:
Jordan Justen 2014-07-24 18:15:13 -07:00 committed by Liming Gao
parent ef7447bb02
commit 5fe292b42f
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ AsmCpuid PROC USES ebx
@@:
mov ecx, [ebp + 24]
jecxz @F
pop [ecx]
pop DWORD [ecx]
@@:
mov ecx, [ebp + 28]
jecxz @F

View File

@ -58,7 +58,7 @@ AsmCpuidEx PROC USES ebx
@@:
mov ecx, [ebp + 28]
jecxz @F
pop [ecx]
pop DWORD [ecx]
@@:
mov eax, [ebp + 12]
leave

View File

@ -38,7 +38,7 @@
;------------------------------------------------------------------------------
InternalX86EnablePaging64 PROC
cli
mov [esp], @F ; offset for far retf, seg is the 1st arg
mov DWORD PTR [esp], @F ; offset for far retf, seg is the 1st arg
mov eax, cr4
or al, (1 SHL 5)
mov cr4, eax ; enable PAE

View File

@ -33,7 +33,7 @@ InternalAssertJumpBuffer PROTO C
; );
;------------------------------------------------------------------------------
SetJump PROC
push [esp + 4]
push DWORD [esp + 4]
call InternalAssertJumpBuffer ; To validate JumpBuffer
pop ecx
pop ecx ; ecx <- return address