From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=jian.j.wang@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 824882095607D for ; Wed, 14 Mar 2018 21:57:05 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2018 22:03:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,308,1517904000"; d="scan'208";a="39044965" Received: from jwang36-mobl2.ccr.corp.intel.com ([10.239.192.71]) by orsmga001.jf.intel.com with ESMTP; 14 Mar 2018 22:03:28 -0700 From: Jian J Wang To: edk2-devel@lists.01.org Date: Thu, 15 Mar 2018 13:03:23 +0800 Message-Id: <20180315050326.17440-1-jian.j.wang@intel.com> X-Mailer: git-send-email 2.15.1.windows.2 Subject: [PATCH v3 0/3] fix empty window period of HeapGuard before CpuArchProtocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 04:57:06 -0000 > v3: > Split the fixes into three patch files. > v2: > Fix a logic hole in bits operation on address on 64K boundary with > just 64-bit length (SetBits(), ClearBits(), GetBits()). This patch series fills up an empty window period of HeapGuard feature before CpuArchProtocol installed, and fix an issue observed on 32-bit real platform with this HeapGuard fix. Jian J Wang (3): MdeModulePkg/Core: allow HeapGuard even before CpuArchProtocol installed MdeModulePkg/PiSmmCore: fix bits operation error on a boundary condition MdeModulePkg/Core: fix bits operation error on a boundary condition MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 10 ++ MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 148 ++++++++++++++++++++++++-- MdeModulePkg/Core/Dxe/Mem/HeapGuard.h | 8 ++ MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 5 + MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 16 +-- 5 files changed, 174 insertions(+), 13 deletions(-) -- 2.16.2.windows.1