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.
14 lines
676 B
C
14 lines
676 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef NV_RS_EVENT_WORK_ADAPTER_H
|
|
#define NV_RS_EVENT_WORK_ADAPTER_H
|
|
struct nv_rs_event_work;
|
|
int nv_rs_event_workqueue_init(void);
|
|
void nv_rs_event_workqueue_destroy(void);
|
|
/* Payload and module must remain owned until close stops enqueue and joins work.
|
|
* Enqueue supports IRQ context; each successful enqueue is a distinct work item.
|
|
* Close runs in process context outside this queue and callback-required locks. */
|
|
int nv_rs_event_work_create(void (*callback)(void *),void *payload,struct nv_rs_event_work **out);
|
|
int nv_rs_event_work_enqueue(struct nv_rs_event_work *);
|
|
int nv_rs_event_work_close(struct nv_rs_event_work *);
|
|
#endif
|