From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web12.8480.1648454962517853012 for ; Mon, 28 Mar 2022 01:09:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=IXlGt0RX; spf=pass (domain: intel.com, ip: 192.55.52.120, 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=1648454997; x=1679990997; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5cHa3+ez4gowNraHlJqLvGIlkzeiaLvukTpSqyueYpI=; b=IXlGt0RXrCpBkUkYgf8eU70oYnXYlSgMw7t1FzhOFbC26a9tV3510ly9 jTuVgWdxZ1cZVVNwxirtbNRsy1E4ODzVz+g4SkXXS1LBhhJFdkVkoIo1q vYdkQm8mCbeZ/zf3Y3g5goMJj+l5UjmqhvLOL2e1Q8+OXSAa1udDVm4mY lRDOONtoV35jlYBefAR8SUVCQJgbZ4cVsIiYpkKC5KKzzxwyPbU7OLJl8 u42a0bOfPye8aEdgKkBqkGiCE1h3UAtX3fij4rvvC+I6T6P9fWz8fjAeH 9Doti5fo4UNgKsgpukB8oVoIPs/EpHOd4pTioPBRMeJ2xs6uX+d3DnEHs Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10299"; a="257771100" X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="257771100" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2022 01:09:57 -0700 X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="563427655" Received: from mxu9-mobl1.ccr.corp.intel.com ([10.249.175.167]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2022 01:09:54 -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 V11 24/47] OvmfPkg/PlatformPei: Refactor QemuUc32BaseInitialization Date: Mon, 28 Mar 2022 16:08:03 +0800 Message-Id: <8e672fae4f147249d2ae833f8c9c00113dcaebcc.1648454441.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 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