Files
nvdriver/kernel-open/nvidia/clock_adapter.h
Eric Hartford 33ff608a88 Add MIT LICENSE and unify repository SPDX/Cargo/module licensing
- 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.
2026-12-01 00:20:02 +00:00

10 lines
347 B
C

/* SPDX-License-Identifier: MIT */
#ifndef NV_RS_CLOCK_ADAPTER_H
#define NV_RS_CLOCK_ADAPTER_H
#include <linux/types.h>
/* Match original 580 timeout clock: coarse jiffies, not raw/high-res time. */
u64 nv_rs_clock_monotonic_ns(void);
u64 nv_rs_clock_tick_resolution_ns(void);
void nv_rs_clock_system_time(u32 *seconds, u32 *microseconds);
#endif