mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 14:43:35 +00:00
[RTL] Use addressing relative to rip
This commit is contained in:
parent
96a2b18903
commit
8abcd18742
1 changed files with 4 additions and 4 deletions
|
@ -102,7 +102,7 @@ ExpInterlockedPopEntrySList:
|
||||||
mov rax, [rcx]
|
mov rax, [rcx]
|
||||||
|
|
||||||
/* Check for 16 byte SList support */
|
/* Check for 16 byte SList support */
|
||||||
cmp byte ptr [RtlpUse16ByteSLists], 0
|
cmp byte ptr [rip+RtlpUse16ByteSLists], 0
|
||||||
jne RtlInterlockedPopEntrySList16
|
jne RtlInterlockedPopEntrySList16
|
||||||
|
|
||||||
/* Use the 8 byte header */
|
/* Use the 8 byte header */
|
||||||
|
@ -233,7 +233,7 @@ ExpInterlockedPushEntrySList:
|
||||||
ExpInterlockedPushEntrySListChecked:
|
ExpInterlockedPushEntrySListChecked:
|
||||||
|
|
||||||
/* Make sure RtlpUse16ByteSLists is initialized */
|
/* Make sure RtlpUse16ByteSLists is initialized */
|
||||||
cmp byte ptr [RtlpUse16ByteSLists], HEX(FF)
|
cmp byte ptr [rip+RtlpUse16ByteSLists], HEX(FF)
|
||||||
jne ExpInterlockedPushEntrySListChecked2
|
jne ExpInterlockedPushEntrySListChecked2
|
||||||
/* Not initialized, raise an assertion */
|
/* Not initialized, raise an assertion */
|
||||||
int HEX(2C)
|
int HEX(2C)
|
||||||
|
@ -247,7 +247,7 @@ ExpInterlockedPushEntrySListChecked2:
|
||||||
mov r9, [rcx + 8]
|
mov r9, [rcx + 8]
|
||||||
|
|
||||||
/* Check for 16 byte SList support */
|
/* Check for 16 byte SList support */
|
||||||
cmp byte ptr [RtlpUse16ByteSLists], 0
|
cmp byte ptr [rip+RtlpUse16ByteSLists], 0
|
||||||
jne RtlInterlockedPushEntrySList16
|
jne RtlInterlockedPushEntrySList16
|
||||||
|
|
||||||
/* Use the 8 byte header */
|
/* Use the 8 byte header */
|
||||||
|
@ -368,7 +368,7 @@ ExpInterlockedFlushSList:
|
||||||
mov rax, [rcx]
|
mov rax, [rcx]
|
||||||
|
|
||||||
/* Check for 16 byte SList support */
|
/* Check for 16 byte SList support */
|
||||||
cmp byte ptr [RtlpUse16ByteSLists], 0
|
cmp byte ptr [rip+RtlpUse16ByteSLists], 0
|
||||||
jne RtlInterlockedFlushSList16
|
jne RtlInterlockedFlushSList16
|
||||||
|
|
||||||
/* Use the 8 byte header */
|
/* Use the 8 byte header */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue