1. Updated some files’ description files in MdePkg, EdkModulePkg & EdkNt32Pkg.

2.	Update .msa files to add some missing files files in MdePkg 
3.	Add Help text to Mde Library related PCDs.
4.	Fix some bugs in CpuId.S and CpuIdEx.S.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@919 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2006-07-12 14:15:40 +00:00
parent a7e63efe72
commit 1fe4ef1bd8
70 changed files with 433 additions and 326 deletions

View File

@@ -22,8 +22,6 @@
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# VOID
# EFIAPI
@@ -35,29 +33,33 @@
# OUT UINT32 *RegisterOutEdx OPTIONAL
# )
#------------------------------------------------------------------------------
.globl _AsmCpuid
.globl _AsmCpuid
_AsmCpuid:
push %ebx
push %edi
movl 12(%esp),%eax
pushl %ebx
pushl %ebp
movl %esp, %ebp
movl 12(%ebp), %eax
cpuid
movl %ecx,%edi
movl 16(%esp),%ecx
pushl %ecx
movl 16(%ebp), %ecx
jecxz L1
movl %eax,(%ecx)
L1:
movl 20(%esp),%ecx
movl %eax, (%ecx)
L1:
movl 20(%ebp), %ecx
jecxz L2
movl %ebx,(%ecx)
L2:
movl 24(%esp),%ecx
movl %ebx, (%ecx)
L2:
movl 24(%ebp), %ecx
jecxz L3
movl %edi,(%ecx)
L3:
movl 28(%esp),%ecx
popl (%ecx)
L3:
movl 28(%ebp), %ecx
jecxz L4
movl %edx,(%ecx)
L4:
pop %edi
pop %ebx
movl %edx, (%ecx)
L4:
movl 12(%ebp), %eax
leave
popl %ebx
ret

View File

@@ -55,13 +55,13 @@ L1:
L2:
movl 28(%ebp), %ecx
jecxz L3
popl %ecx
popl (%ecx)
L3:
movl 32(%ebp), %edx
jecxz L4
movl %edx, (%ecx)
L4:
movl 12(%ebp), %eax
pop %ebx
leave
pop %ebx
ret