/device/linaro/bootloader/edk2/UefiCpuPkg/CpuS3DataDxe/ |
CpuS3Data.c | 151 UINTN NumberOfCpus;
190 &NumberOfCpus,
194 AcpiCpuData->NumberOfCpus = (UINT32)NumberOfCpus;
209 Stack = AllocateAcpiNvsMemoryBelow4G (NumberOfCpus * AcpiCpuData->StackSize);
235 TableSize = 2 * NumberOfCpus * sizeof (CPU_REGISTER_TABLE);
238 for (Index = 0; Index < NumberOfCpus; Index++) {
251 RegisterTable[NumberOfCpus + Index].InitialApicId = (UINT32)ProcessorInfoBuffer.ProcessorId;
252 RegisterTable[NumberOfCpus + Index].TableLength = 0;
253 RegisterTable[NumberOfCpus + Index].AllocatedSize = 0; [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/ |
SecPlatformInformation2.h | 48 UINT32 NumberOfCpus;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/ |
AcpiCpuData.h | 100 // The total size of this buffer, in bytes, is NumberOfCpus * StackSize. This
114 UINT32 NumberOfCpus;
125 // NumberOfCpus entries. This array must be allocated below 4GB from memory
135 // NumberOfCpus entries. This array must be allocated below 4GB from memory
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
CpuS3.c | 364 for (Index = 0; Index < mAcpiCpuData.NumberOfCpus; Index++) {
396 for (Index = 0; Index < mAcpiCpuData.NumberOfCpus; Index++) {
491 for (Index = 0; Index < mAcpiCpuData.NumberOfCpus; Index++) {
502 mNumberToFinish = mAcpiCpuData.NumberOfCpus - 1;
533 for (Index = 0; Index < mAcpiCpuData.NumberOfCpus; Index++) {
540 mNumberToFinish = mAcpiCpuData.NumberOfCpus - 1;
580 gSmst->NumberOfCpus = gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus;
658 if (mAcpiCpuData.NumberOfCpus > 0) {
673 if (mAcpiCpuData.NumberOfCpus > 0) { [all...] |
PiSmmCpuDxeSmm.c | 32 0, // SmmCoreEntryContext.NumberOfCpus
238 if ((CpuIndex >= gSmst->NumberOfCpus) || (Buffer == NULL)) {
305 if ((CpuIndex >= gSmst->NumberOfCpus) || (Buffer == NULL)) {
615 gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus = mMaxNumberOfCpus;
831 Stacks = (UINT8 *) AllocatePages (gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus * (EFI_SIZE_TO_PAGES (PcdGet32 (PcdCpuSmmStackSize)) + 2));
834 mSmmStackArrayEnd = mSmmStackArrayBase + gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus * mSmmStackSize - 1;
837 Stacks = (UINT8 *) AllocatePages (EFI_SIZE_TO_PAGES (gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus * mSmmStackSize));
[all...] |
MpService.c | 920 if (CpuIndex >= gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus) {
921 DEBUG((DEBUG_ERROR, "CpuIndex(%d) >= gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus(%d)\n", CpuIndex, gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus));
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Guid/ |
AcpiVariableCompatibility.h | 41 UINT32 NumberOfCpus;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/ |
SmmFuncsArch.c | 79 mGdtBufferSize = GdtTssTableSize * gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus;
85 for (Index = 0; Index < gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; Index++) {
114 mGdtBufferSize = GdtTssTableSize * gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus;
120 for (Index = 0; Index < gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; Index++) {
|
/external/perfetto/src/traced/probes/ftrace/ |
cpu_stats_parser.cc | 77 stats->cpu_stats.resize(ftrace->NumberOfCpus(), {}); 78 for (size_t cpu = 0; cpu < ftrace->NumberOfCpus(); cpu++) {
|
ftrace_procfs.h | 62 size_t virtual NumberOfCpus() const;
|
ftrace_procfs_unittest.cc | 39 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
|
ftrace_controller_unittest.cc | 139 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); 140 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); 189 MOCK_CONST_METHOD0(NumberOfCpus, size_t()); 479 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); 510 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2));
|
ftrace_controller.cc | 227 const size_t num_cpus = ftrace_procfs_->NumberOfCpus(); 309 cpu_readers_.reserve(ftrace_procfs_->NumberOfCpus()); 310 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) {
|
ftrace_procfs.cc | 120 size_t FtraceProcfs::NumberOfCpus() const { 138 for (size_t cpu = 0; cpu < NumberOfCpus(); cpu++) {
|
ftrace_config_muxer_unittest.cc | 45 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); 48 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); 58 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
PiSmmCis.h | 217 /// A number between zero and the NumberOfCpus field. This field designates which
225 UINTN NumberOfCpus;
229 /// NumberOfCpus entries in the array.
235 /// save state area. There are always NumberOfCpus entries in the array.
298 /// A number between zero and and the NumberOfCpus field. This field designates
305 UINTN NumberOfCpus;
309 /// NumberOfCpus entries in the array.
315 /// save state area. There are always NumberOfCpus entries in the array.
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
SmmFuncsArch.c | 68 mGdtBufferSize = GdtTssTableSize * gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus;
74 for (Index = 0; Index < gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus; Index++) {
|
/external/perfetto/tools/dump_ftrace_stats/ |
main.cc | 43 size_t NumberOfCpus() { 73 for (uint32_t cpu = 0; cpu < NumberOfCpus(); cpu++) {
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
QNCSmmSw.c | 81 for (Index = 0; Index < gSmst->NumberOfCpus; Index++) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Smm/SmmScriptLib/ |
PiSmmDefinition.h | 275 /// A number between zero and the NumberOfCpus field. This field designates which
283 UINTN NumberOfCpus;
287 /// NumberOfCpus entries in the array.
293 /// save state area. There are always NumberOfCpus entries in the array.
356 /// A number between zero and and the NumberOfCpus field. This field designates
363 UINTN NumberOfCpus;
367 /// NumberOfCpus entries in the array.
373 /// save state area. There are always NumberOfCpus entries in the array.
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/ |
CpuBist.c | 193 PlatformInformationRecord2->NumberOfCpus = (UINT32)NumberOfProcessors;
213 NumberOfData = SecPlatformInformation2->NumberOfCpus;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
CpuMp.c | 556 NumberOfData = SecPlatformInformation2->NumberOfCpus;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
PiSmmCore.c | 50 0, // NumberOfCpus
445 gSmmCoreSmst.NumberOfCpus = SmmEntryContext->NumberOfCpus;
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/ |
QNCInit.c | 156 AcpiCpuData->NumberOfCpus = 1;
169 AcpiCpuData->StackAddress = (EFI_PHYSICAL_ADDRESS) (UINTN) AllocateAcpiNvsMemoryBelow4G (AcpiCpuData->NumberOfCpus * AcpiCpuData->StackSize);
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Framework/ |
SmmCis.h | 517 /// A 1-relative number between 1 and the NumberOfCpus field. This field designates
527 UINTN NumberOfCpus;
535 /// The size of this entire table is NumberOfCpus* size of the
|