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.web12.1145.1648597670632172204 for ; Tue, 29 Mar 2022 16:48:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=cfowVY4D; 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=1648597694; x=1680133694; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5cHa3+ez4gowNraHlJqLvGIlkzeiaLvukTpSqyueYpI=; b=cfowVY4DNcH9x/X4hsNOmQHe28ts5t86ZopiMfOWZLKPOOCIBEzE1KXq qr0zcaDlzSchkBRLE9SKGQ76CAd/1NYcaWlyxt9EMbDp+kyvF3/m/fdYv An5JATQYVysDQd+ZlDVvifyIgzPP6KiBy5MVNAjnhEtAQk0qbvcSWuR3f yZjw6z9Us+dVl1DgKCaUMxxcfgd88I0guoVAcdV/PBZqWeqtdqbRDcWby Uob5S3LSxAnbeY4QxDo0Gm3GT91XLyOsKzKvobIavRZH+yNaMxc6B78WS ojQAhQe2o2CpSr5Nl989/Y7inFCV57+zmPGV2B6LnnYkDecf1ihUS+Qb5 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10301"; a="259375389" X-IronPort-AV: E=Sophos;i="5.90,220,1643702400"; d="scan'208";a="259375389" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2022 16:48:14 -0700 X-IronPort-AV: E=Sophos;i="5.90,220,1643702400"; d="scan'208";a="521658939" Received: from zhangpen-mobl.ccr.corp.intel.com (HELO mxu9-mobl1.ccr.corp.intel.com) ([10.255.29.230]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2022 16:48:11 -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 V12 24/47] OvmfPkg/PlatformPei: Refactor QemuUc32BaseInitialization Date: Wed, 30 Mar 2022 07:46:17 +0800 Message-Id: <9c8030fcb06978151e84b420dcc3baefa14cc094.1648555175.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