diff options
| author | Miguel <m.i@gmx.at> | 2018-08-19 21:51:06 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-19 21:51:06 +0200 |
| commit | fa22576a525135895d16deb3fc6def685a7baf8a (patch) | |
| tree | 69654ea4f27ce2bda4461e9bc037482def3ef901 /asm | |
| parent | 7dbbfea6ad0a458e1b1e2685a5dc947e0c43fdbf (diff) | |
invalidated spinlocks
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/x86.s | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 - |
