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:
@@ -22,7 +22,7 @@
|
|||||||
.type InternalSyncCompareExchange64, @function
|
.type InternalSyncCompareExchange64, @function
|
||||||
InternalSyncCompareExchange64::
|
InternalSyncCompareExchange64::
|
||||||
mov ar.ccv = r33
|
mov ar.ccv = r33
|
||||||
cmpxchg8.rel r8 = [r64], r34
|
cmpxchg8.rel r8 = [r32], r34
|
||||||
mf
|
mf
|
||||||
br.ret.sptk.many b0
|
br.ret.sptk.many b0
|
||||||
.endp InternalSyncCompareExchange64
|
.endp InternalSyncCompareExchange64
|
@@ -34,9 +34,6 @@ IsNodeInList (
|
|||||||
ASSERT (Node != NULL);
|
ASSERT (Node != NULL);
|
||||||
|
|
||||||
Count = PcdGet32 (PcdMaximumLinkedListLength);
|
Count = PcdGet32 (PcdMaximumLinkedListLength);
|
||||||
if (Count != 0) {
|
|
||||||
Count++;
|
|
||||||
}
|
|
||||||
|
|
||||||
Ptr = List;
|
Ptr = List;
|
||||||
do {
|
do {
|
||||||
|
@@ -26,7 +26,8 @@
|
|||||||
InternalX86DisablePaging64 PROC
|
InternalX86DisablePaging64 PROC
|
||||||
cli
|
cli
|
||||||
shl rcx, 32
|
shl rcx, 32
|
||||||
lea ecx, @F
|
lea eax, @F
|
||||||
|
mov ecx, eax
|
||||||
push rcx
|
push rcx
|
||||||
mov ebx, edx
|
mov ebx, edx
|
||||||
mov esi, r8d
|
mov esi, r8d
|
||||||
|
Reference in New Issue
Block a user