summaryrefslogtreecommitdiff
path: root/asm/asm_x86.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/asm_x86.s')
-rw-r--r--asm/asm_x86.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/asm_x86.s b/asm/asm_x86.s
index 35052b1..3481ec2 100644
--- a/asm/asm_x86.s
+++ b/asm/asm_x86.s
@@ -123,9 +123,9 @@ set_cr4:
ret
x86_xchg:
- mov 8(%esp), %eax // addr
- mov 4(%esp), %edx // value
- xchg %edx, (%eax) //LOCK protocol impemented anyway
+ mov 8(%esp), %eax // value
+ mov 4(%esp), %edx // addr
+ xchg %eax, (%edx) //LOCK protocol impemented anyway
ret
x86_invlpg: