mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Refactor filesystem & stl code
This commit is contained in:
@ -173,7 +173,7 @@ typedef volatile _Atomic(int64_t) atomic64_t;
|
||||
typedef volatile _Atomic(void *) atomicptr_t;
|
||||
|
||||
/* Intellisense errors */
|
||||
#ifndef __debug_vscode__
|
||||
#ifndef __vscode__
|
||||
|
||||
static FORCEINLINE int32_t atomic_load32(atomic32_t *src) { return atomic_load_explicit(src, memory_order_relaxed); }
|
||||
static FORCEINLINE void atomic_store32(atomic32_t *dst, int32_t val) { atomic_store_explicit(dst, val, memory_order_relaxed); }
|
||||
|
@ -86,6 +86,6 @@ EXTERNC int __rpmalloc_munmap(void *addr, size_t length)
|
||||
|
||||
EXTERNC int __rpmalloc_posix_madvise(void *addr, size_t length, int advice)
|
||||
{
|
||||
function("%#lx %d %d", addr, length, advice);
|
||||
func("%#lx %d %d", addr, length, advice);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user