mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-04-27 09:42:45 +00:00
committed by
Gaurav Juvekar
parent
caa2dd11a0
commit
3084c04453
@@ -1,7 +1,14 @@
|
||||
|
||||
#ifndef _G_SEC2_UTILS_NVOC_H_
|
||||
#define _G_SEC2_UTILS_NVOC_H_
|
||||
#include "nvoc/runtime.h"
|
||||
|
||||
// Version of generated metadata structures
|
||||
#ifdef NVOC_METADATA_VERSION
|
||||
#undef NVOC_METADATA_VERSION
|
||||
#endif
|
||||
#define NVOC_METADATA_VERSION 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -29,6 +36,7 @@ extern "C" {
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "g_sec2_utils_nvoc.h"
|
||||
|
||||
#ifndef SEC2_UTILS_H
|
||||
@@ -71,11 +79,20 @@ typedef struct
|
||||
#define PRIVATE_FIELD(x) NVOC_PRIVATE_FIELD(x)
|
||||
#endif
|
||||
|
||||
|
||||
struct Sec2Utils {
|
||||
|
||||
// Metadata
|
||||
const struct NVOC_RTTI *__nvoc_rtti;
|
||||
|
||||
// Parent (i.e. superclass or base class) object pointers
|
||||
struct Object __nvoc_base_Object;
|
||||
struct Object *__nvoc_pbase_Object;
|
||||
struct Sec2Utils *__nvoc_pbase_Sec2Utils;
|
||||
|
||||
// Ancestor object pointers for `staticCast` feature
|
||||
struct Object *__nvoc_pbase_Object; // obj super
|
||||
struct Sec2Utils *__nvoc_pbase_Sec2Utils; // sec2utils
|
||||
|
||||
// Data members
|
||||
NvHandle hClient;
|
||||
NvHandle hDevice;
|
||||
NvHandle hSubdevice;
|
||||
@@ -100,6 +117,7 @@ typedef struct Sec2Utils Sec2Utils;
|
||||
#define __nvoc_class_id_Sec2Utils 0x7716b1
|
||||
#endif /* __nvoc_class_id_Sec2Utils */
|
||||
|
||||
// Casting support
|
||||
extern const struct NVOC_CLASS_DEF __nvoc_class_def_Sec2Utils;
|
||||
|
||||
#define __staticCast_Sec2Utils(pThis) \
|
||||
@@ -112,13 +130,16 @@ extern const struct NVOC_CLASS_DEF __nvoc_class_def_Sec2Utils;
|
||||
((Sec2Utils*)__nvoc_dynamicCast(staticCast((pThis), Dynamic), classInfo(Sec2Utils)))
|
||||
#endif //__nvoc_sec2_utils_h_disabled
|
||||
|
||||
|
||||
NV_STATUS __nvoc_objCreateDynamic_Sec2Utils(Sec2Utils**, Dynamic*, NvU32, va_list);
|
||||
|
||||
NV_STATUS __nvoc_objCreate_Sec2Utils(Sec2Utils**, Dynamic*, NvU32, struct OBJGPU * arg_pGpu, KERNEL_MIG_GPU_INSTANCE * arg_pKernelMIGGPUInstance);
|
||||
#define __objCreate_Sec2Utils(ppNewObj, pParent, createFlags, arg_pGpu, arg_pKernelMIGGPUInstance) \
|
||||
__nvoc_objCreate_Sec2Utils((ppNewObj), staticCast((pParent), Dynamic), (createFlags), arg_pGpu, arg_pKernelMIGGPUInstance)
|
||||
|
||||
|
||||
// Wrapper macros
|
||||
|
||||
// Dispatch functions
|
||||
NV_STATUS sec2utilsConstruct_IMPL(struct Sec2Utils *arg_psec2utils, struct OBJGPU *arg_pGpu, KERNEL_MIG_GPU_INSTANCE *arg_pKernelMIGGPUInstance);
|
||||
|
||||
#define __nvoc_sec2utilsConstruct(arg_psec2utils, arg_pGpu, arg_pKernelMIGGPUInstance) sec2utilsConstruct_IMPL(arg_psec2utils, arg_pGpu, arg_pKernelMIGGPUInstance)
|
||||
|
||||
Reference in New Issue
Block a user