git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6639 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2008-11-19 15:22:53 +00:00
parent ee6c452c81
commit 6f890d5b40
30 changed files with 47 additions and 47 deletions

View File

@@ -48,10 +48,10 @@ ASM_PFX(InternalMemZeroMem):
mov rcx, rdx # rcx = Count
shr rcx, 3 # rcx = rcx / 8
cld
rep stosq
rep stosq
mov rcx, rdx # rcx = rdx
and rcx, 7 # rcx = rcx & 7
rep stosb
rep stosb
pop rax # rax = Buffer
pop rbx
pop rdi