From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 6DEDC81EE3 for ; Tue, 15 Nov 2016 06:08:07 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 15 Nov 2016 06:08:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,495,1473145200"; d="scan'208";a="1068738121" Received: from jfan12-desk.ccr.corp.intel.com ([10.239.9.5]) by fmsmga001.fm.intel.com with ESMTP; 15 Nov 2016 06:08:10 -0800 From: Jeff Fan To: edk2-devel@lists.01.org Cc: Paolo Bonzini , Laszlo Ersek , Jiewen Yao , Feng Tian , Michael D Kinney Date: Tue, 15 Nov 2016 22:08:07 +0800 Message-Id: <20161115140809.5292-1-jeff.fan@intel.com> X-Mailer: git-send-email 2.9.3.windows.2 Subject: [PATCH v2 0/2] Add volatile for mNumberToFinish X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 14:08:07 -0000 v2: Add patch #1 per Laszlo's comments at https://lists.01.org/pipermail/edk2-devel/2016-November/004697.html About the comments updated SynchronizationLib to add volatile for input parameter, I will send in another serial patches. Cc: Paolo Bonzini Cc: Laszlo Ersek Cc: Jiewen Yao Cc: Feng Tian Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Jeff Fan (2): UefiCpuPkg/PiSmmCpuDxeSmm: Add volatile for parameter NumberToFinish UefiCpuPkg/PiSmmCpuDxeSmm: Add volatile for mNumberToFinish UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 4 ++-- UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmFuncsArch.c | 4 ++-- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmFuncsArch.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) -- 2.9.3.windows.2