summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/Application/Cpuid/Cpuid.inf
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-02-18 23:16:02 -0800
committerMichael Kinney <michael.d.kinney@intel.com>2016-02-24 20:36:51 -0800
commit2570575276ab8f1f29e00c536e3d80983d5fccb1 (patch)
treec9b35a3ef77656e8e068c6f8ae2fc8f101743a1f /UefiCpuPkg/Application/Cpuid/Cpuid.inf
parent57d16ba1e7593e4fabc2b483ed5ac53cbfd5d9c7 (diff)
downloadedk2-2570575276ab8f1f29e00c536e3d80983d5fccb1.tar.gz
edk2-2570575276ab8f1f29e00c536e3d80983d5fccb1.tar.bz2
edk2-2570575276ab8f1f29e00c536e3d80983d5fccb1.zip
UefiCpuPkg/Cpuid: Add UEFI CPUID application
Add UEFI application to UefiCpuPkg to display all supported CPUID leafs and sub-leafs described by UefiCpuPkg/Include/Register/Cpuid.h that is based on information from Intel(R) 64 and IA-32 Architectures Software Developer's Manual, Volume 2A, December 2015, CPUID instruction. Cc: Jeff Fan <jeff.fan@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'UefiCpuPkg/Application/Cpuid/Cpuid.inf')
-rw-r--r--UefiCpuPkg/Application/Cpuid/Cpuid.inf48
1 files changed, 48 insertions, 0 deletions
diff --git a/UefiCpuPkg/Application/Cpuid/Cpuid.inf b/UefiCpuPkg/Application/Cpuid/Cpuid.inf
new file mode 100644
index 0000000000..0d71b115d9
--- /dev/null
+++ b/UefiCpuPkg/Application/Cpuid/Cpuid.inf
@@ -0,0 +1,48 @@
+## @file
+# UEFI Application to display CPUID leaf information.
+#
+# This UEFI application displays the registers values returned by CPUID for
+# all the CPUID leafs and sub-leafs that a CPU supports. It also displays
+# the values of all the bit fields in the registers returned by each CPUID
+# leaf and sub-leaf.
+#
+# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+#
+# This program and the accompanying materials
+# are licensed and made available under the terms and conditions of the BSD License
+# which accompanies this distribution. The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = Cpuid
+ MODULE_UNI_FILE = Cpuid.uni
+ FILE_GUID = 4AE7E1E8-9DFE-4e3e-85B4-A5F6ABD470FB
+ MODULE_TYPE = UEFI_APPLICATION
+ VERSION_STRING = 0.5
+ ENTRY_POINT = UefiMain
+
+#
+# The following information is for reference only and not required by the build tools.
+#
+# VALID_ARCHITECTURES = IA32 X64
+#
+
+[Sources]
+ Cpuid.c
+
+[Packages]
+ MdePkg/MdePkg.dec
+ UefiCpuPkg/UefiCpuPkg.dec
+
+[LibraryClasses]
+ UefiApplicationEntryPoint
+ BaseLib
+ UefiLib
+
+[UserExtensions.TianoCore."ExtraFiles"]
+ CpuidExtra.uni