mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +00:00
- Add root LICENSE (MIT License, Copyright (c) 2026 QuixiAI / Eric Hartford).
- Set license = "MIT" in workspace Cargo.toml and member crates (zero non-MIT dependencies).
- Update all kernel-open/ and tests/vm/ SPDX headers to MIT and EXPORT_SYMBOL_GPL -> EXPORT_SYMBOL.
- Use MODULE_LICENSE("Dual MIT/GPL") in Linux .ko modules so Linux modpost permits linking against the kernel's own EXPORT_SYMBOL_GPL symbols while keeping the repository source 100% MIT.
Closes #12.
16 lines
599 B
C
16 lines
599 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef NV_RS_THREAD_STATE_ADAPTER_H
|
|
#define NV_RS_THREAD_STATE_ADAPTER_H
|
|
#include <linux/types.h>
|
|
void *nv_rs_thread_storage_alloc(size_t bytes);
|
|
void nv_rs_thread_storage_free(void *allocation);
|
|
void *nv_rs_thread_lock_create(void);
|
|
void nv_rs_thread_lock_destroy(void *lock);
|
|
unsigned long nv_rs_thread_lock(void *lock);
|
|
void nv_rs_thread_unlock(void *lock, unsigned long flags);
|
|
void *nv_rs_thread_task_get(u32 *process_flags);
|
|
void nv_rs_thread_task_put(void *task);
|
|
bool nv_rs_thread_task_current(void *task);
|
|
bool nv_rs_thread_process_context(void);
|
|
#endif
|