From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 50F831A1E01 for ; Wed, 31 Aug 2016 02:07:42 -0700 (PDT) Received: by mail-wm0-x22d.google.com with SMTP id 1so28437373wmz.1 for ; Wed, 31 Aug 2016 02:07:42 -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=D7sThhgow9bqy/4sGtW2k2dl271CqWFjT8O72H8JqmE=; b=Xeb+YeikfQ+0i/0B0o2VLlVUDnT4GYPiyFMht4FAuuioTMCRK9q4jY79z0YX/3D9b4 dodTfZ2tmBnXl8HllJB0Uk958rg3Izuuw5WbsB2QPWAFVqI92RNGq0L5B9LvbxpDspiC zRUVrwnWHRHLW3dJMNl+WBozAXK5df/C5jpPA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=D7sThhgow9bqy/4sGtW2k2dl271CqWFjT8O72H8JqmE=; b=Yw/MEVLWnhesxHsDLCBk6O/Vcgt4fo7kNBXlBPdsQo1WuhUp7VUYtSBMhOU8fotvVv MYEiPh1ykj9QuZ11lugi+l7MWI0iqTI5TZaDqDrxzOj47CzPD1ozwGRvdXXdQUWl3SY+ CJeLan9KQlTp67StAM27e7LWOJEUC4KHmME8rVc181uep0OYR+eJCFeaMeIIaUySHAql RjMoQurQdxoTYQbIe18VcsVRMyRA146YrLrtWbWGG5F20zWZV6opDpYR3xYp8VbJ37k9 nwUvu48Reb4wqacSzEbSo8DaxKU4h0al3U8GZJ6a5ybZqYfUO2gCR6OrENX9NEbs9Flt RcDw== X-Gm-Message-State: AE9vXwMVTA5j4DgX8Pto7VFqLOdiPENDtC6pE2VNqrss9jSK5d3urIQoZnGqbCq+K4T3CSh0 X-Received: by 10.194.149.133 with SMTP id ua5mr7902817wjb.79.1472634460905; Wed, 31 Aug 2016 02:07:40 -0700 (PDT) Received: from localhost.localdomain ([160.169.158.74]) by smtp.gmail.com with ESMTPSA id uo4sm43462468wjc.36.2016.08.31.02.07.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 02:07:40 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Cc: Ard Biesheuvel Date: Wed, 31 Aug 2016 10:07:30 +0100 Message-Id: <1472634453-27246-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/3] ArmPkg: introduce IsZeroGuid() and IsZeroBuffer() 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: Wed, 31 Aug 2016 09:07:42 -0000 The BaseMemoryLib API has recently been extended with IsZeroGuid() and IsZeroBuffer(), so copy the generic implementations into the ArmPkg version of this library. Ard Biesheuvel (3): ArmPkg: remove BaseMemoryLibVstm implementation of BaseMemoryLib ArmPkg/BaseMemoryLibStm: implement new IsZeroGuid() API function ArmPkg/BaseMemoryLibStm: implement new IsZeroBuffer() API function ArmPkg/ArmPkg.dsc | 2 - ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf | 1 + ArmPkg/Library/{BaseMemoryLibVstm/ZeroMemWrapper.c => BaseMemoryLibStm/IsZeroBufferWrapper.c} | 28 ++- ArmPkg/Library/BaseMemoryLibStm/MemLibGeneric.c | 29 +++ ArmPkg/Library/BaseMemoryLibStm/MemLibGuid.c | 29 +++ ArmPkg/Library/BaseMemoryLibStm/MemLibInternals.h | 17 ++ ArmPkg/Library/BaseMemoryLibVstm/Arm/CopyMem.S | 112 --------- ArmPkg/Library/BaseMemoryLibVstm/Arm/CopyMem.asm | 114 --------- ArmPkg/Library/BaseMemoryLibVstm/Arm/SetMem.S | 76 ------ ArmPkg/Library/BaseMemoryLibVstm/Arm/SetMem.asm | 78 ------ ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf | 70 ------ ArmPkg/Library/BaseMemoryLibVstm/CompareMemWrapper.c | 66 ----- ArmPkg/Library/BaseMemoryLibVstm/CopyMem.c | 62 ----- ArmPkg/Library/BaseMemoryLibVstm/CopyMemWrapper.c | 63 ----- ArmPkg/Library/BaseMemoryLibVstm/MemLibGeneric.c | 264 -------------------- ArmPkg/Library/BaseMemoryLibVstm/MemLibGuid.c | 132 ---------- ArmPkg/Library/BaseMemoryLibVstm/MemLibInternals.h | 234 ----------------- ArmPkg/Library/BaseMemoryLibVstm/ScanMem16Wrapper.c | 67 ----- ArmPkg/Library/BaseMemoryLibVstm/ScanMem32Wrapper.c | 66 ----- ArmPkg/Library/BaseMemoryLibVstm/ScanMem64Wrapper.c | 67 ----- ArmPkg/Library/BaseMemoryLibVstm/ScanMem8Wrapper.c | 99 -------- ArmPkg/Library/BaseMemoryLibVstm/SetMem.c | 53 ---- ArmPkg/Library/BaseMemoryLibVstm/SetMem16Wrapper.c | 64 ----- ArmPkg/Library/BaseMemoryLibVstm/SetMem32Wrapper.c | 64 ----- ArmPkg/Library/BaseMemoryLibVstm/SetMem64Wrapper.c | 64 ----- ArmPkg/Library/BaseMemoryLibVstm/SetMemWrapper.c | 91 ------- 26 files changed, 91 insertions(+), 1921 deletions(-) rename ArmPkg/Library/{BaseMemoryLibVstm/ZeroMemWrapper.c => BaseMemoryLibStm/IsZeroBufferWrapper.c} (53%) delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/Arm/CopyMem.S delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/Arm/CopyMem.asm delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/Arm/SetMem.S delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/Arm/SetMem.asm delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/CompareMemWrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/CopyMem.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/CopyMemWrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/MemLibGeneric.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/MemLibGuid.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/MemLibInternals.h delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/ScanMem16Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/ScanMem32Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/ScanMem64Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/ScanMem8Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/SetMem.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/SetMem16Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/SetMem32Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/SetMem64Wrapper.c delete mode 100644 ArmPkg/Library/BaseMemoryLibVstm/SetMemWrapper.c -- 2.7.4