lock: merge spinlock and mtx locks into one

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-08-13 14:19:10 -04:00
commit 2076f1dae1
Signed by: michaelsshaw
GPG key ID: 5A5E0FB20708A9E7
32 changed files with 158 additions and 169 deletions

View file

@ -3,7 +3,7 @@
#define _MEM_H_
#include <kernel/common.h>
#include <kernel/spinlock.h>
#include <kernel/lock.h>
#define ALIGN(_a) __attribute__((aligned(_a)))
#define PHYSICAL_PAGE_MASK (~(hhdm_start))