575.51.02

This commit is contained in:
Bernhard Stoeckner
2025-04-17 19:35:38 +02:00
parent e8113f665d
commit 4159579888
1142 changed files with 309085 additions and 272273 deletions

View File

@@ -1,4 +1,11 @@
#define NVOC_OBJECT_H_PRIVATE_ACCESS_ALLOWED
// Version of generated metadata structures
#ifdef NVOC_METADATA_VERSION
#undef NVOC_METADATA_VERSION
#endif
#define NVOC_METADATA_VERSION 2
#include "nvoc/runtime.h"
#include "nvoc/rtti.h"
#include "nvtypes.h"
@@ -7,31 +14,27 @@
#include "utils/nvassert.h"
#include "g_object_nvoc.h"
#ifdef DEBUG
char __nvoc_class_id_uniqueness_check_0x497031 = 1;
char __nvoc_class_id_uniqueness_check__0x497031 = 1;
#endif
extern const struct NVOC_CLASS_DEF __nvoc_class_def_Object;
void __nvoc_init_Object(Object*);
// Forward declarations for Object
void __nvoc_init__Object(Object*);
void __nvoc_init_funcTable_Object(Object*);
NV_STATUS __nvoc_ctor_Object(Object*);
void __nvoc_init_dataField_Object(Object*);
void __nvoc_dtor_Object(Object*);
extern const struct NVOC_EXPORT_INFO __nvoc_export_info_Object;
static const struct NVOC_RTTI __nvoc_rtti_Object_Object = {
/*pClassDef=*/ &__nvoc_class_def_Object,
/*dtor=*/ (NVOC_DYNAMIC_DTOR) &__nvoc_dtor_Object,
/*offset=*/ 0,
};
// Structures used within RTTI (run-time type information)
extern const struct NVOC_CASTINFO __nvoc_castinfo__Object;
extern const struct NVOC_EXPORT_INFO __nvoc_export_info__Object;
static const struct NVOC_CASTINFO __nvoc_castinfo_Object = {
/*numRelatives=*/ 1,
/*relatives=*/ {
&__nvoc_rtti_Object_Object,
},
};
// Down-thunk(s) to bridge Object methods from ancestors (if any)
// Up-thunk(s) to bridge Object methods to ancestors (if any)
const struct NVOC_CLASS_DEF __nvoc_class_def_Object =
{
@@ -44,15 +47,28 @@ const struct NVOC_CLASS_DEF __nvoc_class_def_Object =
#endif
},
/*objCreatefn=*/ (NVOC_DYNAMIC_OBJ_CREATE) &__nvoc_objCreateDynamic_Object,
/*pCastInfo=*/ &__nvoc_castinfo_Object,
/*pExportInfo=*/ &__nvoc_export_info_Object
/*pCastInfo=*/ &__nvoc_castinfo__Object,
/*pExportInfo=*/ &__nvoc_export_info__Object
};
// Down-thunk(s) to bridge Object methods from ancestors (if any)
// Up-thunk(s) to bridge Object methods to ancestors (if any)
// Metadata with per-class RTTI
static const struct NVOC_METADATA__Object __nvoc_metadata__Object = {
.rtti.pClassDef = &__nvoc_class_def_Object, // (obj) this
.rtti.dtor = (NVOC_DYNAMIC_DTOR) &__nvoc_dtor_Object,
.rtti.offset = 0,
};
const struct NVOC_EXPORT_INFO __nvoc_export_info_Object =
// Dynamic down-casting information
const struct NVOC_CASTINFO __nvoc_castinfo__Object = {
.numRelatives = 1,
.relatives = {
&__nvoc_metadata__Object.rtti, // [0]: (obj) this
}
};
const struct NVOC_EXPORT_INFO __nvoc_export_info__Object =
{
/*numEntries=*/ 0,
/*pExportEntries=*/ 0
@@ -87,8 +103,16 @@ void __nvoc_init_funcTable_Object(Object *pThis) {
__nvoc_init_funcTable_Object_1(pThis);
}
void __nvoc_init_Object(Object *pThis) {
pThis->__nvoc_pbase_Object = pThis;
// Initialize newly constructed object.
void __nvoc_init__Object(Object *pThis) {
// Initialize pointers to inherited data.
pThis->__nvoc_pbase_Object = pThis; // (obj) this
// Pointer(s) to metadata structures(s)
pThis->__nvoc_metadata_ptr = &__nvoc_metadata__Object; // (obj) this
// Initialize per-object vtables.
__nvoc_init_funcTable_Object(pThis);
}
@@ -106,9 +130,6 @@ NV_STATUS __nvoc_objCreate_Object(Object **ppThis, Dynamic *pParent, NvU32 creat
// Zero is the initial value for everything.
portMemSet(pThis, 0, sizeof(Object));
// Initialize runtime type information.
__nvoc_initRtti(staticCast(pThis, Dynamic), &__nvoc_class_def_Object);
pThis->createFlags = createFlags;
// Link the child into the parent if there is one unless flagged not to do so.
@@ -122,7 +143,7 @@ NV_STATUS __nvoc_objCreate_Object(Object **ppThis, Dynamic *pParent, NvU32 creat
pThis->pParent = NULL;
}
__nvoc_init_Object(pThis);
__nvoc_init__Object(pThis);
status = __nvoc_ctor_Object(pThis);
if (status != NV_OK) goto __nvoc_objCreate_Object_cleanup;