Changeset 85718 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/Include
- Timestamp:
- Aug 12, 2020 4:09:12 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139865
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-133213 /vendor/edk2/current 103735-103757,103769-103776,129194-139864
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h
r80721 r85718 2 2 Register CPU Features Library to register and manage CPU features. 3 3 4 Copyright (c) 2017 - 20 19, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR> 5 5 SPDX-License-Identifier: BSD-2-Clause-Patent 6 6 … … 26 26 #define CPU_FEATURE_ACPI 3 27 27 #define CPU_FEATURE_EIST 4 28 #define CPU_FEATURE_ XD528 #define CPU_FEATURE_RESERVED_5 5 29 29 #define CPU_FEATURE_FASTSTRINGS 6 30 30 #define CPU_FEATURE_VMX 7 … … 70 70 #define CPU_FEATURE_BEFORE_ALL BIT23 71 71 #define CPU_FEATURE_AFTER_ALL BIT24 72 // 73 // CPU_FEATURE_BEFORE and CPU_FEATURE_AFTER only mean Thread scope 74 // before and Thread scope after. 75 // It will be replace with CPU_FEATURE_THREAD_BEFORE and 76 // CPU_FEATURE_THREAD_AFTER, and should not be used anymore. 77 // 78 #define CPU_FEATURE_BEFORE BIT25 79 #define CPU_FEATURE_AFTER BIT26 80 81 #define CPU_FEATURE_THREAD_BEFORE CPU_FEATURE_BEFORE 82 #define CPU_FEATURE_THREAD_AFTER CPU_FEATURE_AFTER 72 #define CPU_FEATURE_THREAD_BEFORE BIT25 73 #define CPU_FEATURE_THREAD_AFTER BIT26 83 74 #define CPU_FEATURE_CORE_BEFORE BIT27 84 75 #define CPU_FEATURE_CORE_AFTER BIT28 … … 89 80 90 81 /// 82 /// The bit field to indicate whether the processor is the first in its parent scope. 83 /// 84 typedef struct { 85 // 86 // Set to 1 when current processor is the first thread in the core it resides in. 87 // 88 UINT32 Thread : 1; 89 // 90 // Set to 1 when current processor is a thread of the first core in the module it resides in. 91 // 92 UINT32 Core : 1; 93 // 94 // Set to 1 when current processor is a thread of the first module in the tile it resides in. 95 // 96 UINT32 Module : 1; 97 // 98 // Set to 1 when current processor is a thread of the first tile in the die it resides in. 99 // 100 UINT32 Tile : 1; 101 // 102 // Set to 1 when current processor is a thread of the first die in the package it resides in. 103 // 104 UINT32 Die : 1; 105 // 106 // Set to 1 when current processor is a thread of the first package in the system. 107 // 108 UINT32 Package : 1; 109 UINT32 Reserved : 26; 110 } REGISTER_CPU_FEATURE_FIRST_PROCESSOR; 111 112 /// 91 113 /// CPU Information passed into the SupportFunc and InitializeFunc of the 92 114 /// RegisterCpuFeature() library function. This structure contains information … … 98 120 /// 99 121 EFI_PROCESSOR_INFORMATION ProcessorInfo; 122 123 /// 124 /// The bit flag indicating whether the CPU is the first Thread/Core/Module/Tile/Die/Package in its parent scope. 125 /// 126 REGISTER_CPU_FEATURE_FIRST_PROCESSOR First; 100 127 /// 101 128 /// The Display Family of the CPU computed from CPUID leaf CPUID_VERSION_INFO -
trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h
r80721 r85718 339 339 340 340 @retval EFI_SUCCESS The register was read from Save State. 341 @retval EFI_INVALID_PARAM TER Buffer is NULL.341 @retval EFI_INVALID_PARAMETER Buffer is NULL. 342 342 @retval EFI_UNSUPPORTED This function does not support reading Register. 343 343 … … 365 365 366 366 @retval EFI_SUCCESS The register was written to Save State. 367 @retval EFI_INVALID_PARAM TER Buffer is NULL.367 @retval EFI_INVALID_PARAMETER Buffer is NULL. 368 368 @retval EFI_UNSUPPORTED This function does not support writing Register. 369 369 **/
Note:
See TracChangeset
for help on using the changeset viewer.