1. Sync LinkedList.c with MWG

2. Fix one bug in Ipf/InterlockedCompareExchange64.s
3. Fix one bug in AsmDisablePaging64()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@786 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2006-07-06 04:07:24 +00:00
parent d6ac6b76a8
commit d9da5f5982
3 changed files with 3 additions and 5 deletions

View File

@ -22,7 +22,7 @@
.type InternalSyncCompareExchange64, @function
InternalSyncCompareExchange64::
mov ar.ccv = r33
cmpxchg8.rel r8 = [r64], r34
cmpxchg8.rel r8 = [r32], r34
mf
br.ret.sptk.many b0
.endp InternalSyncCompareExchange64

View File

@ -34,9 +34,6 @@ IsNodeInList (
ASSERT (Node != NULL);
Count = PcdGet32 (PcdMaximumLinkedListLength);
if (Count != 0) {
Count++;
}
Ptr = List;
do {

View File

@ -26,7 +26,8 @@
InternalX86DisablePaging64 PROC
cli
shl rcx, 32
lea ecx, @F
lea eax, @F
mov ecx, eax
push rcx
mov ebx, edx
mov esi, r8d