diff --git a/baremetal_app/SbsaAcsMain.c b/baremetal_app/SbsaAcsMain.c index e3c8a229..b3ea13ef 100644 --- a/baremetal_app/SbsaAcsMain.c +++ b/baremetal_app/SbsaAcsMain.c @@ -224,6 +224,17 @@ createSratInfoTable( } +void +createPccInfoTable( +) +{ + uint64_t *PccInfoTable; + + PccInfoTable = val_aligned_alloc(SIZE_4K, + PLATFORM_PCC_SUBSPACE_COUNT * sizeof(PCC_INFO)); + val_pcc_create_info_table(PccInfoTable); +} + /** @brief This API allocates memory for info table and calls create info table function passed as parameter. @@ -281,6 +292,7 @@ freeSbsaAvsMem() val_hmat_free_info_table(); val_srat_free_info_table(); val_ras2_free_info_table(); + val_pcc_free_info_table(); val_free_shared_mem(); } @@ -386,6 +398,9 @@ ShellAppMainsbsa( createCacheInfoTable(); + /* required before calling createMpamInfoTable() */ + createPccInfoTable(); + createMpamInfoTable(); createHmatInfoTable();