From 2dc41d450a027c249342c88cac7321f0d1b7ec8c Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Thu, 24 Dec 2015 02:30:43 +0000 Subject: [PATCH] UefiCpuPkg: Add the missing module uni for CpuS3DataDxe Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Jeff Fan git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19510 6f19259b-4bc3-4df7-8a09-765794883524 --- UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf | 4 ++ UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni | 40 +++++++++++++++++++ UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni | 20 ++++++++++ 3 files changed, 64 insertions(+) create mode 100644 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni create mode 100644 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf index 9143b87723..857e12b802 100644 --- a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf +++ b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf @@ -25,6 +25,7 @@ [Defines] INF_VERSION = 0x00010005 BASE_NAME = CpuS3DataDxe + MODULE_UNI_FILE = CpuS3DataDxe.uni FILE_GUID = 4D2E57EE-0E3F-44DD-93C4-D3B57E96945D MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 @@ -62,3 +63,6 @@ [Depex] gEfiMpServiceProtocolGuid + +[UserExtensions.TianoCore."ExtraFiles"] + CpuS3DataDxeExtra.uni diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni new file mode 100644 index 0000000000..4a0218f180 --- /dev/null +++ b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.uni @@ -0,0 +1,40 @@ +// /** @file +// ACPI CPU Data initialization module +// +// This module initializes the ACPI_CPU_DATA structure and registers the address +// of this structure in the PcdCpuS3DataAddress PCD. This is a generic/simple +// version of this module. It does not provide a machine check handler or CPU +// register initialization tables for ACPI S3 resume. It also only supports the +// number of CPUs reported by the MP Services Protocol, so this module does not +// support hot plug CPUs. This module can be copied into a CPU specific package +// and customized if these additional features are required. +// +// Copyright (c) 2015, Intel Corporation. All rights reserved.
+// +// Copyright (c) 2015, Red Hat, Inc. +// +// 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. +// +// **/ + +#string STR_MODULE_ABSTRACT +#language en-US +"ACPI CPU Data initialization module" + +#string STR_MODULE_DESCRIPTION +#language en-US +"This module initializes the ACPI_CPU_DATA structure and registers the address " +"of this structure in the PcdCpuS3DataAddress PCD. This is a generic/simple " +"version of this module. It does not provide a machine check handler or CPU " +"register initialization tables for ACPI S3 resume. It also only supports the " +"number of CPUs reported by the MP Services Protocol, so this module does not " +"support hot plug CPUs. This module can be copied into a CPU specific package " +"and customized if these additional features are required." + + diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni new file mode 100644 index 0000000000..050f25f843 --- /dev/null +++ b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxeExtra.uni @@ -0,0 +1,20 @@ +// /** @file +// CpuS3DataDxe Localized Strings and Content +// +// Copyright (c) 2015, Intel Corporation. All rights reserved.
+// +// Copyright (c) 2015, Red Hat, Inc. +// +// 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. +// +// **/ + +#string STR_PROPERTIES_MODULE_NAME #language en-US "CpuS3DataDxe module" + + -- 2.39.2