Home
last modified time | relevance | path

Searched refs:CurrentBTSRecord (Results 1 – 9 of 9) sorted by relevance

/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()
/dports/sysutils/edk2/edk2-edk2-stable202102/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord;
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex;
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) {
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1);
189 CurrentBTSRecord --;
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) {
204 return CurrentBTSRecord->LastBranchFrom;
207 CurrentBTSRecord--;
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
H A DSmmProfile.c176 BRANCH_TRACE_RECORD *CurrentBTSRecord; in GetSourceFromDestinationOnBts() local
182 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts()
184 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts()
188CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts()
189 CurrentBTSRecord --; in GetSourceFromDestinationOnBts()
191 if (CurrentBTSRecord->LastBranchTo == DestinationIP) { in GetSourceFromDestinationOnBts()
204 return CurrentBTSRecord->LastBranchFrom; in GetSourceFromDestinationOnBts()
207 CurrentBTSRecord--; in GetSourceFromDestinationOnBts()