mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +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.
12 lines
583 B
C
12 lines
583 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef NV_RS_SOFTWARE_MANAGER_ADAPTER_H
|
|
#define NV_RS_SOFTWARE_MANAGER_ADAPTER_H
|
|
/* One process-context mutex lives for the whole module lifetime. The caller
|
|
* keeps module code alive and balances every successful lock with unlock.
|
|
* Lock order: GPU operation -> software manager; never the reverse. No registry
|
|
* spinlock may be held, no recursive manager entry, no borrow escapes unlock.
|
|
* Parent must not unload on a failed retained-owner shutdown. */
|
|
int nv_rs_software_manager_lock(void);
|
|
void nv_rs_software_manager_unlock(void);
|
|
#endif
|