From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Permerror (SPF Permanent Error: Two or more type TXT spf records found.) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 9591921109FFE for ; Fri, 31 Aug 2018 01:35:35 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2018 01:35:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,309,1531810800"; d="scan'208";a="258748748" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.8]) by fmsmga005.fm.intel.com with ESMTP; 31 Aug 2018 01:35:34 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Fri, 31 Aug 2018 16:36:18 +0800 Message-Id: <20180831083620.303688-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.16.1.windows.1 Subject: [PATCH 0/2] UefiCpuPkg/CpuExceptionHandlerLib: Avoid calling PEI services from AP X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 08:35:35 -0000 1st patch adds more comments to the code to make it more readable. 2nd patch fixes the real assertion issue. Ruiyu Ni (2): CpuExceptionHandlerLib: Add comments to make code more readable UefiCpuPkg/CpuExceptionHandlerLib: Avoid calling PEI services from AP .../CpuExceptionHandlerLib/CpuExceptionCommon.h | 7 +- .../Ia32/ArchExceptionHandler.c | 8 ++- .../CpuExceptionHandlerLib/PeiCpuException.c | 77 +++++++++++++++------- .../CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 12 ++-- .../X64/ArchExceptionHandler.c | 8 ++- 5 files changed, 73 insertions(+), 39 deletions(-) -- 2.16.1.windows.1