kernel: add basic spinlocks

This commit is contained in:
2023-02-04 17:46:05 +00:00
parent 6e290ee18a
commit d0a431c860
5 changed files with 125 additions and 18 deletions

View File

@@ -4,5 +4,6 @@
#define __used __attribute__((used))
#define __packed __attribute__((packed))
#define __section(name) __attribute__((section(name)))
#define __aligned(x) __attribute__((aligned(x)))
#endif