]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: Add the missing module uni for CpuS3DataDxe
authorLiming Gao <liming.gao@intel.com>
Thu, 24 Dec 2015 02:30:43 +0000 (02:30 +0000)
committerlgao4 <lgao4@Edk2>
Thu, 24 Dec 2015 02:30:43 +0000 (02:30 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19510 6f19259b-4bc3-4df7-8a09-765794883524

UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni [new file with mode: 0644]
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni [new file with mode: 0644]

index 9143b87723fe1b051a7a0b46dacd7ab893f38d86..857e12b8025f171106396041c024197ea6126279 100644 (file)
@@ -25,6 +25,7 @@
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = CpuS3DataDxe\r
+  MODULE_UNI_FILE                = CpuS3DataDxe.uni\r
   FILE_GUID                      = 4D2E57EE-0E3F-44DD-93C4-D3B57E96945D\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
@@ -62,3 +63,6 @@
 \r
 [Depex]\r
   gEfiMpServiceProtocolGuid\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  CpuS3DataDxeExtra.uni\r
diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni
new file mode 100644 (file)
index 0000000..4a0218f
--- /dev/null
@@ -0,0 +1,40 @@
+// /** @file\r
+// ACPI CPU Data initialization module\r
+//\r
+// This module initializes the ACPI_CPU_DATA structure and registers the address\r
+// of this structure in the PcdCpuS3DataAddress PCD.  This is a generic/simple\r
+// version of this module.  It does not provide a machine check handler or CPU\r
+// register initialization tables for ACPI S3 resume.  It also only supports the\r
+// number of CPUs reported by the MP Services Protocol, so this module does not\r
+// support hot plug CPUs.  This module can be copied into a CPU specific package\r
+// and customized if these additional features are required.\r
+//\r
+// Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+//\r
+// Copyright (c) 2015, Red Hat, Inc.\r
+//\r
+// This program and the accompanying materials\r
+// are licensed and made available under the terms and conditions of the BSD License\r
+// which accompanies this distribution.  The full text of the license may be found at\r
+// http://opensource.org/licenses/bsd-license.php\r
+//\r
+// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+//\r
+// **/\r
+\r
+#string STR_MODULE_ABSTRACT\r
+#language en-US\r
+"ACPI CPU Data initialization module"\r
+\r
+#string STR_MODULE_DESCRIPTION\r
+#language en-US\r
+"This module initializes the ACPI_CPU_DATA structure and registers the address "\r
+"of this structure in the PcdCpuS3DataAddress PCD.  This is a generic/simple "\r
+"version of this module.  It does not provide a machine check handler or CPU "\r
+"register initialization tables for ACPI S3 resume.  It also only supports the "\r
+"number of CPUs reported by the MP Services Protocol, so this module does not "\r
+"support hot plug CPUs.  This module can be copied into a CPU specific package "\r
+"and customized if these additional features are required."\r
+\r
+\r
diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni
new file mode 100644 (file)
index 0000000..050f25f
--- /dev/null
@@ -0,0 +1,20 @@
+// /** @file\r
+// CpuS3DataDxe Localized Strings and Content\r
+//\r
+// Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+//\r
+// Copyright (c) 2015, Red Hat, Inc.\r
+//\r
+// This program and the accompanying materials\r
+// are licensed and made available under the terms and conditions of the BSD License\r
+// which accompanies this distribution.  The full text of the license may be found at\r
+// http://opensource.org/licenses/bsd-license.php\r
+//\r
+// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+//\r
+// **/\r
+\r
+#string STR_PROPERTIES_MODULE_NAME #language en-US "CpuS3DataDxe module"\r
+\r
+\r