diff options
author | Marvin Borner | 2020-03-18 16:41:21 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-18 16:41:21 +0100 |
commit | c6657aac0c5d5ecf347bc082cb6df38e1174d297 (patch) | |
tree | 5db660dd74d9741cf1105290d4584d9a1fdb7020 /src/kernel/memory/alloc.c | |
parent | add6efeb22ffb7695d5c9addcef073fc653f700e (diff) |
Replaced asm calls with sweet function
Diffstat (limited to 'src/kernel/memory/alloc.c')
-rw-r--r-- | src/kernel/memory/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/memory/alloc.c b/src/kernel/memory/alloc.c index cffcace..faeb4bf 100644 --- a/src/kernel/memory/alloc.c +++ b/src/kernel/memory/alloc.c @@ -5,13 +5,13 @@ int liballoc_lock() { - // asm ("cli"); + // cli(); return 0; } int liballoc_unlock() { - // asm ("sti"); + // sti(); return 0; } @@ -454,4 +454,4 @@ void *PREFIX(realloc)(void *p, size_t size) PREFIX(free)(p); return ptr; -}
\ No newline at end of file +} |