v2 initial commit

This commit is contained in:
Michael Shaw 2026-04-11 11:35:31 -04:00
commit d2ef885e8d
118 changed files with 2420 additions and 9320 deletions

View file

@ -1,15 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _LOCK_H_
#define _LOCK_H_
typedef int spinlock_t;
typedef spinlock_t mtx_t;
int atomic_cmpxchg(volatile int *ptr, int cmpval, int newval);
void spinlock_acquire(spinlock_t *lock);
void spinlock_release(spinlock_t *lock);
void mtx_acquire(mtx_t *mtx);
void mtx_release(mtx_t *mtx);
#endif /* _LOCK_H_ */