Lines Matching refs:mSmmProfileBase
20 SMM_PROFILE_HEADER *mSmmProfileBase; variable
795 sizeof(mSmmProfileBase), in InitSmmProfileCallBack()
796 &mSmmProfileBase in InitSmmProfileCallBack()
859 mSmmProfileBase = (SMM_PROFILE_HEADER *)(UINTN)Base; in InitSmmProfileInternal()
864 mSmmProfileBase->HeaderSize = sizeof (SMM_PROFILE_HEADER); in InitSmmProfileInternal()
865 …mSmmProfileBase->MaxDataEntries = (UINT64)((mSmmProfileSize - sizeof(SMM_PROFILE_HEADER)) / sizeof… in InitSmmProfileInternal()
866 …mSmmProfileBase->MaxDataSize = MultU64x64 (mSmmProfileBase->MaxDataEntries, sizeof(SMM_PROFILE_… in InitSmmProfileInternal()
867 mSmmProfileBase->CurDataEntries = 0; in InitSmmProfileInternal()
868 mSmmProfileBase->CurDataSize = 0; in InitSmmProfileInternal()
869 mSmmProfileBase->TsegStart = mCpuHotPlugData.SmrrBase; in InitSmmProfileInternal()
870 mSmmProfileBase->TsegSize = mCpuHotPlugData.SmrrSize; in InitSmmProfileInternal()
871 mSmmProfileBase->NumSmis = 0; in InitSmmProfileInternal()
872 mSmmProfileBase->NumCpus = gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; in InitSmmProfileInternal()
914 mProtectionMemRange[1].Range.Base = (EFI_PHYSICAL_ADDRESS)(UINTN)mSmmProfileBase; in InitSmmProfileInternal()
915 mProtectionMemRange[1].Range.Top = (EFI_PHYSICAL_ADDRESS)(UINTN)mSmmProfileBase + TotalSize; in InitSmmProfileInternal()
1060 mSmmProfileBase->NumSmis++; in SmmProfileRecordSmiNum()
1317 SmmProfileEntry = (SMM_PROFILE_ENTRY *)(UINTN)(mSmmProfileBase + 1); in SmmProfilePFHandler()
1321 for (Index = 0; Index < (UINTN) mSmmProfileBase->CurDataEntries; Index++) { in SmmProfilePFHandler()
1333 if (Index == mSmmProfileBase->CurDataEntries) { in SmmProfilePFHandler()
1334 CurrentEntryNumber = (UINTN) mSmmProfileBase->CurDataEntries; in SmmProfilePFHandler()
1335 MaxEntryNumber = (UINTN) mSmmProfileBase->MaxDataEntries; in SmmProfilePFHandler()
1343 SmmProfileEntry[CurrentEntryNumber].SmiNum = mSmmProfileBase->NumSmis; in SmmProfilePFHandler()
1353 mSmmProfileBase->CurDataEntries++; in SmmProfilePFHandler()
1354 …mSmmProfileBase->CurDataSize = MultU64x64 (mSmmProfileBase->CurDataEntries, sizeof (SMM_PROFILE_EN… in SmmProfilePFHandler()