From ef4943053475cd8bf341c42dd0b538bc630b92a3 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 6 Sep 2018 01:58:10 +0200 Subject: working on smp --- asm/asm_x86.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asm/asm_x86.s') 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: -- cgit v1.2.3