mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 13:06:34 +00:00
new:kzalloc
This commit is contained in:
docs/kernel/core_api
kernel
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#define __force __attribute__((force))
|
||||
|
||||
#define likely(x) __builtin_expect(!!(x), 1)
|
||||
#define unlikely(x) __builtin_expect(!!(x), 0)
|
||||
|
||||
|
Reference in New Issue
Block a user