mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
d6ac6b76a8
commit
d9da5f5982
@ -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
|
@ -34,9 +34,6 @@ IsNodeInList (
|
||||
ASSERT (Node != NULL);
|
||||
|
||||
Count = PcdGet32 (PcdMaximumLinkedListLength);
|
||||
if (Count != 0) {
|
||||
Count++;
|
||||
}
|
||||
|
||||
Ptr = List;
|
||||
do {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user