From patchwork Mon Jan 21 03:10:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 156136 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5897786jaa; Sun, 20 Jan 2019 19:10:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN6PY3gk9tYwDKcpXUcMI7JOMiMI/+EVHyXCOxEdjDTVidJ8YdSU3Q8ejSP6NW+W0swNhgzW X-Received: by 2002:a17:906:f20b:: with SMTP id gt11-v6mr23072664ejb.144.1548040239331; Sun, 20 Jan 2019 19:10:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548040239; cv=none; d=google.com; s=arc-20160816; b=SVbTuF6vlZqop5QRXOpuodO29Fn1Ipt5tgZ8PyV6XuKxMThMY3oEu44HFfYmgwcPMI fnaC48T6PHhodBU4Y3hnsdD9Eh0PYWRC1PxgziBpAhqSf4qQ71BpRLJbczPSOCdskEil DPf3JjKRliF0HWfg9/AK3AGYNOgT+kHcH+B6bCeIInP02svcgIvo9pWYKWJIx/jkPJ2v Tmv6NadYnAMwI6IEDrMoYT0v76bh4i4AVnbvs0pHPRtWg37tOATpjbVIKjzDci7ShBqM sq3uoJvcZvnKjZ6QJpphTtMYqzNwyUnyZq+BmbQrW+s0xspIUsUbq6cNxV0TM+2+9mSD cEdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature; bh=bDYFtjLFuQdM4COh/YMUGmf/xr6Dwz0KjHGXRn/Ty6A=; b=AB7qLUMtiUqHgSAyUF/B0Y1qt4g6gQd5itBC6naIKMSfU+TyhD7+YbRWPRFP9Zv197 9dnYTqrMXQWxmf3GX0SNAAHBn+z7/PA0TZf+5hA8yWSDSa2dtDMp2nVOFyT/bDJ9bWmM E23W6141aCm3w94buiOupl+OdwkAz+MKAWDuPH7QoufzFgtwtTjtCK0IPRUxb71BXHWd TCj8T6+IGa+Xt0UNrWKO6uODyPkj1kLb4cAG7iBsW5qPl0B5VVS1maTLx125lxdp7s8Z NnTatEhcDZrvIdBc6GzRt98J1mRYGOgb+xUnW6eAHTEKtf5injNlMmBWkzj11RVHpwLp 6llg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QiNKxdcL; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id bz3-v6si2972302ejb.224.2019.01.20.19.10.36; Sun, 20 Jan 2019 19:10:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QiNKxdcL; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id B199DC21C38; Mon, 21 Jan 2019 03:10:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1CAEDC21C38; Mon, 21 Jan 2019 03:10:32 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4FBC5C21C38; Mon, 21 Jan 2019 03:10:31 +0000 (UTC) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) by lists.denx.de (Postfix) with ESMTPS id C5558C21C29 for ; Mon, 21 Jan 2019 03:10:30 +0000 (UTC) Received: by mail-yb1-f181.google.com with SMTP id x9so6628635ybj.5 for ; Sun, 20 Jan 2019 19:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ntTDC0SjqFgq4Nf58KhskTVomv1DjaM63YvJE2DN1LI=; b=QiNKxdcLfZKdwFijjPmkOjXoxW7n1x+rI8vHKAo5ySsotG2brrgYY2vWTqzeydY3fk kqpom4f6m4+baKHCFx2b2Kx3hS93/GBganeEpTfpZqBN+3rl1pvIIPWPytf52MIrd9Zc /19HsZLM70lNGFAh63bEBUHsAf+i9uVpA7siY= 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:mime-version :content-transfer-encoding; bh=ntTDC0SjqFgq4Nf58KhskTVomv1DjaM63YvJE2DN1LI=; b=rx0jdpE965h3hJf4xW5UXI8N3N5zLaKqUp4XbfLiz89+zSmIpG0PG6f/ZLaMPr8o+v VAtpf/hrWxVj7PdBXt/+Cdi1xkhFkhq62UkZfWT7tl6jWZg706pIKtU40gJhILv5xvas 4WsgBa2KWEIb2LL0hB/Y4WSaOqWMfTBoj0YL6KE3rtmLDy9wKp0q2Bqwfob3T+CYHADx iRt84CVWIYVVAOyh1NNEh9hKEMMV1F8n59v0liNO47e/ZhGNv113olnaabO8tDuthSSX BrDb4/HiRZFQ4u8813nAX51YV4L2N8aGtKZ4DqD/XdS17RSsRHOgLN/sOV7f7KiH5B3E cVsQ== X-Gm-Message-State: AJcUukdxqD38pTfcUYqq3w8SitWhjr6hE/nR8U5wcI2EmftiBFkJg/AL 1DeV6xB2hH8a1Pf38/3LYq99rw== X-Received: by 2002:a25:7c02:: with SMTP id x2mr1084845ybc.391.1548040229430; Sun, 20 Jan 2019 19:10:29 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id h62sm4765849ywe.100.2019.01.20.19.10.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Jan 2019 19:10:28 -0800 (PST) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de, xypron.glpk@gmx.de Date: Mon, 21 Jan 2019 12:10:38 +0900 Message-Id: <20190121031040.1621-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 0/2] efi_loader: add GetNextVariableName X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" In this patch, GetNextVariableName runtime service will be implemented. Changes in v2 (Jan 21, 2019) * update variable_name_size in GetNextVariableName * add more comments * change some internal variable names AKASHI Takahiro (2): efi_loader: implement GetNextVariableName() efi_selftest: fix variables test for GetNextVariableName() lib/efi_loader/efi_variable.c | 154 +++++++++++++++++++++- lib/efi_selftest/efi_selftest_variables.c | 13 +- 2 files changed, 160 insertions(+), 7 deletions(-)