mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-24 08:53:57 +00:00
committed by
Gaurav Juvekar
parent
caa2dd11a0
commit
3084c04453
@@ -98,6 +98,7 @@ __nvoc_ctor_Spdm_exit:
|
||||
return status;
|
||||
}
|
||||
|
||||
// Vtable initialization
|
||||
static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspecowner) {
|
||||
ChipHal *chipHal = &pRmhalspecowner->chipHal;
|
||||
const unsigned long chipHal_HalVarIdx = (unsigned long)chipHal->__nvoc_HalVarIdx;
|
||||
@@ -106,7 +107,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
PORT_UNREFERENCED_VARIABLE(chipHal);
|
||||
PORT_UNREFERENCED_VARIABLE(chipHal_HalVarIdx);
|
||||
|
||||
// Hal function -- spdmGetCertChains
|
||||
// spdmGetCertChains -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmGetCertChains__ = &spdmGetCertChains_GH100;
|
||||
@@ -117,7 +118,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmGetCertChains__ = &spdmGetCertChains_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmGetAttestationReport
|
||||
// spdmGetAttestationReport -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmGetAttestationReport__ = &spdmGetAttestationReport_GH100;
|
||||
@@ -128,7 +129,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmGetAttestationReport__ = &spdmGetAttestationReport_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmCheckAndExecuteKeyUpdate
|
||||
// spdmCheckAndExecuteKeyUpdate -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmCheckAndExecuteKeyUpdate__ = &spdmCheckAndExecuteKeyUpdate_GH100;
|
||||
@@ -139,7 +140,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmCheckAndExecuteKeyUpdate__ = &spdmCheckAndExecuteKeyUpdate_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmSendInitRmDataCommand
|
||||
// spdmSendInitRmDataCommand -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmSendInitRmDataCommand__ = &spdmSendInitRmDataCommand_GH100;
|
||||
@@ -150,7 +151,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmSendInitRmDataCommand__ = &spdmSendInitRmDataCommand_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmRegisterForHeartbeats
|
||||
// spdmRegisterForHeartbeats -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmRegisterForHeartbeats__ = &spdmRegisterForHeartbeats_GH100;
|
||||
@@ -161,7 +162,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmRegisterForHeartbeats__ = &spdmRegisterForHeartbeats_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmUnregisterFromHeartbeats
|
||||
// spdmUnregisterFromHeartbeats -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmUnregisterFromHeartbeats__ = &spdmUnregisterFromHeartbeats_GH100;
|
||||
@@ -172,7 +173,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmUnregisterFromHeartbeats__ = &spdmUnregisterFromHeartbeats_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmDeviceInit
|
||||
// spdmDeviceInit -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmDeviceInit__ = &spdmDeviceInit_GH100;
|
||||
@@ -183,7 +184,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmDeviceInit__ = &spdmDeviceInit_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmDeviceDeinit
|
||||
// spdmDeviceDeinit -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmDeviceDeinit__ = &spdmDeviceDeinit_GH100;
|
||||
@@ -194,7 +195,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmDeviceDeinit__ = &spdmDeviceDeinit_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmDeviceSecuredSessionSupported
|
||||
// spdmDeviceSecuredSessionSupported -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmDeviceSecuredSessionSupported__ = &spdmDeviceSecuredSessionSupported_GH100;
|
||||
@@ -205,7 +206,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmDeviceSecuredSessionSupported__ = &spdmDeviceSecuredSessionSupported_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmCheckConnection
|
||||
// spdmCheckConnection -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmCheckConnection__ = &spdmCheckConnection_GH100;
|
||||
@@ -216,7 +217,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmCheckConnection__ = &spdmCheckConnection_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmMessageProcess
|
||||
// spdmMessageProcess -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmMessageProcess__ = &spdmMessageProcess_GH100;
|
||||
@@ -227,7 +228,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmMessageProcess__ = &spdmMessageProcess_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmGetCertificates
|
||||
// spdmGetCertificates -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmGetCertificates__ = &spdmGetCertificates_GH100;
|
||||
@@ -238,7 +239,7 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
pThis->__spdmGetCertificates__ = &spdmGetCertificates_46f6a7;
|
||||
}
|
||||
|
||||
// Hal function -- spdmGetReqEncapCertificates
|
||||
// spdmGetReqEncapCertificates -- halified (2 hals) body
|
||||
if (( ((chipHal_HalVarIdx >> 5) == 1UL) && ((1UL << (chipHal_HalVarIdx & 0x1f)) & 0x10000000UL) )) /* ChipHal: GH100 */
|
||||
{
|
||||
pThis->__spdmGetReqEncapCertificates__ = &spdmGetReqEncapCertificates_GH100;
|
||||
@@ -248,9 +249,13 @@ static void __nvoc_init_funcTable_Spdm_1(Spdm *pThis, RmHalspecOwner *pRmhalspec
|
||||
{
|
||||
pThis->__spdmGetReqEncapCertificates__ = &spdmGetReqEncapCertificates_46f6a7;
|
||||
}
|
||||
}
|
||||
} // End __nvoc_init_funcTable_Spdm_1 with approximately 26 basic block(s).
|
||||
|
||||
|
||||
// Initialize vtable(s) for 13 virtual method(s).
|
||||
void __nvoc_init_funcTable_Spdm(Spdm *pThis, RmHalspecOwner *pRmhalspecowner) {
|
||||
|
||||
// Initialize vtable(s) with 13 per-object function pointer(s).
|
||||
__nvoc_init_funcTable_Spdm_1(pThis, pRmhalspecowner);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user