1 /* SPDX-License-Identifier: MIT */ 2 3 /* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. */ 4 5 #ifndef __NVRM_CLIENT_H__ 6 #define __NVRM_CLIENT_H__ 7 #include <nvrm/nvtypes.h> 8 9 /* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */ 10 11 #define NV01_ROOT (0x0U) /* finn: Evaluated from "NV0000_ALLOC_PARAMETERS_MESSAGE_ID" */ 12 13 #define NV_PROC_NAME_MAX_LENGTH 100U 14 15 typedef struct NV0000_ALLOC_PARAMETERS { 16 NvHandle hClient; /* CORERM-2934: hClient must remain the first member until all allocations use these params */ 17 NvU32 processID; 18 char processName[NV_PROC_NAME_MAX_LENGTH]; 19 } NV0000_ALLOC_PARAMETERS; 20 #endif 21