diff options
| author | Miguel <m.i@gmx.at> | 2018-09-06 01:58:10 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-06 01:58:10 +0200 |
| commit | ef4943053475cd8bf341c42dd0b538bc630b92a3 (patch) | |
| tree | b7f59c937797a0ce0603af9ef46a194d4a64ef22 /asm/asm_x86.s | |
| parent | f67ad595650954195ef064a8b91038dbd0e16842 (diff) | |
working on smp
Diffstat (limited to 'asm/asm_x86.s')
| -rw-r--r-- | asm/asm_x86.s | 6 |
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: |
