GVM User Suite
User tools for the GVM open source project.
nv0080.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 2666680 Ontario Inc.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  *
18  */
19 #ifndef GPU_NVIDIA_RESMAN_CLASSES_NV0080_H
20 #define GPU_NVIDIA_RESMAN_CLASSES_NV0080_H
21 
22 #include <stdint.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
29 #define NV0080_CLASS 0x00000080
30 
36  uint32_t deviceId;
37  uint32_t hClientShare;
38  uint32_t hTargetClient;
39  uint32_t hTargetDevice;
40  uint32_t flags;
41  uint64_t vaSpaceSize;
42  uint8_t* vaStartInternal;
44  uint64_t vaLimitInternal;
46  uint32_t vaMode;
47 };
48 
49 #ifdef __cplusplus
50 };
51 #endif
52 
53 #endif
Allocates a Device.
Definition: nv0080.h:35
uint32_t vaMode
Virtual address mode.
Definition: nv0080.h:46
uint8_t * vaStartInternal
Definition: nv0080.h:42
uint64_t vaSpaceSize
Space size for the virtual address space.
Definition: nv0080.h:41
uint32_t hTargetClient
Target client.
Definition: nv0080.h:38
uint32_t hTargetDevice
Target device.
Definition: nv0080.h:39
uint64_t vaLimitInternal
Definition: nv0080.h:44
uint32_t flags
Flags for the allocation.
Definition: nv0080.h:40
uint32_t hClientShare
Client share flag.
Definition: nv0080.h:37
uint32_t deviceId
Device ID.
Definition: nv0080.h:36