interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

branch main Branches Tags History

physics-mv / third_party / nvidia-open-580.173.02 / src / common / sdk / nvidia / inc / class / cl0080.h

64 lines · 2325 bytes Raw Blame History
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 * SPDX-License-Identifier: MIT
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
22 */
23
24#pragma once
25
26#include <nvtypes.h>
27
28//
29// This file was generated with FINN, an NVIDIA coding tool.
30// Source file: class/cl0080.finn
31//
32
33#include "nvlimits.h"
34#include "cl0080_notification.h"
35
36#define NV01_DEVICE_0 (0x80U) /* finn: Evaluated from "NV0080_ALLOC_PARAMETERS_MESSAGE_ID" */
37
38/* NvAlloc parameteters */
39#define NV0080_MAX_DEVICES NV_MAX_DEVICES
40
41/**
42 * @brief Alloc param
43 *
44 * @param vaMode mode for virtual address space allocation
45 * Three modes:
46 * NV_DEVICE_ALLOCATION_VAMODE_OPTIONAL_MULTIPLE_VASPACES
47 * NV_DEVICE_ALLOCATION_VAMODE_SINGLE_VASPACE
48 * NV_DEVICE_ALLOCATION_VAMODE_MULTIPLE_VASPACES
49 * Detailed description of these modes is in nvos.h
50 **/
51
52#define NV0080_ALLOC_PARAMETERS_MESSAGE_ID (0x0080U)
53
54typedef struct NV0080_ALLOC_PARAMETERS {
55 NvU32 deviceId;
56 NvHandle hClientShare;
57 NvHandle hTargetClient;
58 NvHandle hTargetDevice;
59 NvV32 flags;
60 NV_DECLARE_ALIGNED(NvU64 vaSpaceSize, 8);
61 NV_DECLARE_ALIGNED(NvU64 vaStartInternal, 8);
62 NV_DECLARE_ALIGNED(NvU64 vaLimitInternal, 8);
63 NvV32 vaMode;
64} NV0080_ALLOC_PARAMETERS;