From fa22576a525135895d16deb3fc6def685a7baf8a Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 19 Aug 2018 21:51:06 +0200 Subject: invalidated spinlocks --- asm/x86.s | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'asm') diff --git a/asm/x86.s b/asm/x86.s index 9794111..3243352 100644 --- a/asm/x86.s +++ b/asm/x86.s @@ -65,19 +65,6 @@ x86_sti: sti ret -x86_xchg: -// -- uint8_t result; -// -- -// -- // The + in "+m" denotes a read-modify-write operand. -// -- asm volatile("lock xchgb %0, %1" : -// -- "+m" (*addr), "=a" (result) : -// -- "1" (val) : -// -- "cc"); -// -- -// -- return result; -// -- } - ret - x86_get_cr: mov 4(%esp), %ecx cmp $0,%ecx @@ -134,4 +121,3 @@ set_cr3: set_cr4: mov %eax,%cr4 ret - -- cgit v1.2.3