From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web08.919.1647050070631942533 for ; Fri, 11 Mar 2022 17:55:39 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=CPLKB0aE; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647050139; x=1678586139; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mWGU3i4/ISmMS0RvrGEHs91iqVOx5/dDrei9HVCrjms=; b=CPLKB0aEveLnbJxjSkDH5hBwD75Kb8CB3BMzEKVfVXAvE/ofyFP9jLQk KLbJ/pKb0ZB8JhEb6h50Kia0tAig+vbHSYmQ6Jj+ouz6s+6AQjHrHVb44 jOBo7i15fLRMIKONOvJtySHajRulYcjOr+GOzZRc3RyIcDB/7TjuT84W9 2+Kox2j8vZBqDT7tMbzafYJgOjEKCqqVGbi9oTVuIB+a0C1RVGGOfNXWL HR+azrWLO3raiaJTjIRH5HnUVsRrg15sDbfZJGeb8S/tObsCQQiA9wb1M VAZyYCVHdk4suk5w+f0XbdTAbl9xosURMqh0Gi/r0BZDL2K/rdjQtYIqO A==; X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="255894620" X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="255894620" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 17:55:38 -0800 X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="555564777" Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.29.254]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 17:55:35 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Ard Biesheuvel , Jordan Justen , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky , Gerd Hoffmann , Sebastien Boeuf Subject: [PATCH V8 23/47] OvmfPkg/PlatformPei: Refactor QemuUc32BaseInitialization Date: Sat, 12 Mar 2022 09:53:48 +0800 Message-Id: <1c1694f84a173a99eebb59af117c6a97a4c26e73.1647047482.git.min.m.xu@intel.com> X-Mailer: git-send-email 2.29.2.windows.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3863 Rename QemuUc32BaseInitialization to PlatformQemuUc32BaseInitialization. This function is for PlatformInitLib. Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Brijesh Singh Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Cc: Gerd Hoffmann Cc: Sebastien Boeuf Signed-off-by: Min Xu --- OvmfPkg/PlatformPei/MemDetect.c | 3 ++- OvmfPkg/PlatformPei/Platform.c | 2 +- OvmfPkg/PlatformPei/Platform.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/PlatformPei/MemDetect.c b/OvmfPkg/PlatformPei/MemDetect.c index 56011143759c..33c39228e448 100644 --- a/OvmfPkg/PlatformPei/MemDetect.c +++ b/OvmfPkg/PlatformPei/MemDetect.c @@ -127,7 +127,8 @@ Q35SmramAtDefaultSmbaseInitialization ( } VOID -QemuUc32BaseInitialization ( +EFIAPI +PlatformQemuUc32BaseInitialization ( IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob ) { diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c index c184fdb57ee0..0bf92e117bee 100644 --- a/OvmfPkg/PlatformPei/Platform.c +++ b/OvmfPkg/PlatformPei/Platform.c @@ -780,7 +780,7 @@ InitializePlatform ( PublishPeiMemory (); - QemuUc32BaseInitialization (&mPlatformInfoHob); + PlatformQemuUc32BaseInitialization (&mPlatformInfoHob); InitializeRamRegions (&mPlatformInfoHob); diff --git a/OvmfPkg/PlatformPei/Platform.h b/OvmfPkg/PlatformPei/Platform.h index a5fa27c3794f..b5e831aa68e2 100644 --- a/OvmfPkg/PlatformPei/Platform.h +++ b/OvmfPkg/PlatformPei/Platform.h @@ -38,7 +38,8 @@ GetSystemMemorySizeBelow4gb ( ); VOID -QemuUc32BaseInitialization ( +EFIAPI +PlatformQemuUc32BaseInitialization ( IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob ); -- 2.29.2.windows.2