From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.4779.1648080680578717265 for ; Wed, 23 Mar 2022 17:12:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=jKDfb1/k; spf=pass (domain: intel.com, ip: 134.134.136.65, 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=1648080721; x=1679616721; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5cHa3+ez4gowNraHlJqLvGIlkzeiaLvukTpSqyueYpI=; b=jKDfb1/kR9Vcg9I/YoJaQ3jZLXlknVoenElsLnUeZ3Xi9WRgPDdvj/kE PNCQeFJNHwdgycUkIgG7UxROlcCeMt+avSXK5VQEOXEtFOHJe0jlBXrf3 pVLjZeWLkx171SWkivmOuKp4d97N89/PSDbgbdHZgW7Fa9IKjAyN5DR75 spd36Dw3WDhZR61mlQV95wE8lp6RJ23Vpg406Isv7P8EH0zHDN5VpcYOU P4eOyYN+TYlilkrpXD9AsZcuZsXA1gdp4a2cepZIDv5/YXcbdnEX2yxe5 p730ImZrm3S5N80PPfRCrY6BFkzBYVOyIBsy0ZXECtPUtOtdSs3y08171 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10295"; a="258207484" X-IronPort-AV: E=Sophos;i="5.90,205,1643702400"; d="scan'208";a="258207484" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 17:12:00 -0700 X-IronPort-AV: E=Sophos;i="5.90,205,1643702400"; d="scan'208";a="649651297" Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.31.90]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 17:11:57 -0700 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 V10 24/47] OvmfPkg/PlatformPei: Refactor QemuUc32BaseInitialization Date: Thu, 24 Mar 2022 08:10:10 +0800 Message-Id: <20220324001033.1169-25-min.m.xu@intel.com> X-Mailer: git-send-email 2.29.2.windows.2 In-Reply-To: <20220324001033.1169-1-min.m.xu@intel.com> References: <20220324001033.1169-1-min.m.xu@intel.com> 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 Acked-by: Gerd Hoffmann 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 5507d9585bab..45f7eba65d04 100644 --- a/OvmfPkg/PlatformPei/MemDetect.c +++ b/OvmfPkg/PlatformPei/MemDetect.c @@ -125,7 +125,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 20e38a098d52..1275c9187e86 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 ff4459d79fe4..038a806a1e1b 100644 --- a/OvmfPkg/PlatformPei/Platform.h +++ b/OvmfPkg/PlatformPei/Platform.h @@ -40,7 +40,8 @@ GetSystemMemorySizeBelow4gb ( ); VOID -QemuUc32BaseInitialization ( +EFIAPI +PlatformQemuUc32BaseInitialization ( IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob ); -- 2.29.2.windows.2