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.
13 lines
289 B
C
13 lines
289 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifdef NV_RS_COPY_HOST_FIXTURE
|
|
#include <stddef.h>
|
|
#include <string.h>
|
|
#else
|
|
#include <linux/string.h>
|
|
#endif
|
|
#include "memory_copy.h"
|
|
void nv_rs_copy_owned(void *destination, const void *source, size_t bytes)
|
|
{
|
|
memcpy(destination, source, bytes);
|
|
}
|