From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::541; helo=mail-ed1-x541.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 31D6021123E36 for ; Thu, 6 Sep 2018 22:42:08 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id d8-v6so10673366edv.0 for ; Thu, 06 Sep 2018 22:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7Ekb+icvSnK4nPbqhSGd6sw6EH+rW2NhS2NSuu35pcA=; b=OovU+vnHdtk11Hcl9s6cGc7LEikPDyjIrfxZj8CeWDy6kC1ecp/lvANz2Kue/mfxML qhEoQphqTr+A9pxckTJABQiRJj4O7y/bnxvjOxG8reIxoSPuNuzHYursVVGJ5NhuJh6a lbta+yR43O/JnP7b0H9ZBQUskZE20cDN26paQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7Ekb+icvSnK4nPbqhSGd6sw6EH+rW2NhS2NSuu35pcA=; b=sCq5P/yPCGDo41+mIuHXGA0F7jgeGefBx45YqZtXszOjjtbav0xMCOu5aTSEi7mNho 2FD6Yka5PDO0EAzb/HfgihjL3cq7E8oCk0FTyY3YVxQTufPaHc7LsrF5RzbA+rdBjTWC ojzSUKIplU2tHWVlMj9ubITueRvvpB5M6nTiiQQF5zc/LV8HKtngYni7Rz8KxnwJvV4q 308yXaPJU6Ph2c0yMSnHWpIN0M9gJQgTcDmS668DN4zh/24wB96JWRnpuOe9H8zb3vPw evvgONI3doWKIoXRm5+kesNcg0pjGBN84qqYlQi0fQdTHRZQEZnR84LkTrS4hkOXdHGj tsSQ== X-Gm-Message-State: APzg51Dt2Qj+VxUwMLTYuBUR7vQMd9+s8LC3/kAX5a6qI2YzNWNAUQwf TTjpkCs6AKTzWIMMJvXO/L9Ffef0FQeUUcmM X-Google-Smtp-Source: ANB0VdZUycfBq0WKxvmLiXkqCXmizDDpso0yHLZz5Ay8CZcj+P5sZcF7HUY/W0vpvsfqFLRJYDMt0A== X-Received: by 2002:a50:afc4:: with SMTP id h62-v6mr7040795edd.251.1536298926263; Thu, 06 Sep 2018 22:42:06 -0700 (PDT) Received: from mba13.debuut.local ([2a02:a212:9283:9800:154c:2f23:f4db:9e4b]) by smtp.gmail.com with ESMTPSA id i19-v6sm3460195edg.64.2018.09.06.22.42.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 22:42:05 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Star Zeng , Jian J Wang , Michael D Kinney , Liming Gao , Chao Zhang , Jiewen Yao , Laszlo Ersek , Leif Lindholm Date: Fri, 7 Sep 2018 07:41:59 +0200 Message-Id: <20180907054202.24798-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [PATCH v2 0/3] remove most occurrences of ELILO on IPF PE/COFF header hack 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, 07 Sep 2018 05:42:08 -0000 Now that Itanium support has been dropped from EDK2, we can remove most occurrences of the ELILO PE/COFF loader hack from the code base. Note that SecurityPkg appears to have four mostly identical implementations of the PE/COFF measuring routine, so this may be another area for cleanup later. Changes since v1: - fix copy/paste error in patch #3 which went unnoticed due to the fact that SecurityPkg.dsc does not cover the module in question for AARCH64 - drop EdkCompatibilityPkg patch, it is likely to go away soon anyway - add Reviewed-by tags Link: https://bugzilla.tianocore.org/show_bug.cgi?id=816 Cc: Star Zeng Cc: Jian J Wang Cc: Michael D Kinney Cc: Liming Gao Cc: Chao Zhang Cc: Jiewen Yao Cc: Laszlo Ersek Cc: Leif Lindholm Ard Biesheuvel (3): MdeModulePkg: remove PE/COFF header workaround for ELILO on IPF MdePkg/BasePeCoffLib: remove PE/COFF header workaround for ELILO on IPF SecurityPkg: remove PE/COFF header workaround for ELILO on IPF .../Core/Dxe/Mem/MemoryProfileRecord.c | 31 +--------- MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 17 +----- MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 17 +----- .../Core/PiSmmCore/MemoryAttributesTable.c | 17 +----- .../Core/PiSmmCore/SmramProfileRecord.c | 31 +--------- MdePkg/Library/BasePeCoffLib/BasePeCoff.c | 61 +++---------------- .../DxeImageVerificationLib.c | 47 +++----------- .../DxeTpmMeasureBootLib.c | 27 ++------ SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c | 27 ++------ .../SecureBootConfigImpl.c | 25 ++------ 10 files changed, 39 insertions(+), 261 deletions(-) -- 2.17.1