From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=eric.dong@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 409A920945BBA for ; Thu, 28 Sep 2017 17:23:24 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2017 17:26:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,451,1500966000"; d="scan'208";a="133393514" Received: from unknown (HELO ydong10-win10.ccr.corp.intel.com) ([10.239.158.57]) by orsmga004.jf.intel.com with ESMTP; 28 Sep 2017 17:26:38 -0700 From: Eric Dong To: edk2-devel@lists.01.org Date: Fri, 29 Sep 2017 08:26:34 +0800 Message-Id: <1506644796-11288-1-git-send-email-eric.dong@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [Patch v2 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Enhance S3 code. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 00:23:24 -0000 Combine INIT-SIPI-SIPI code and remove the duplicate code. V2: Change patch 2 to includes: Change function parameter to avoid touch global info in function. Enhance function name, make it more user friendly Eric Dong (2): UefiCpuPkg/PiSmmCpuDxeSmm: Combine INIT-SIPI-SIPI. UefiCpuPkg/PiSmmCpuDxeSmm: Refine code to avoid duplicated code. UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 123 +++++++++++++------------------------- 1 file changed, 43 insertions(+), 80 deletions(-) -- 2.7.0.windows.1