Message ID | 20171204212832.130100-5-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Alexander Graf |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="YZ4eULW/"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yrJ5b2sNXz9s7f for <incoming@patchwork.ozlabs.org>; Tue, 5 Dec 2017 08:33:23 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 195C8C2204C; Mon, 4 Dec 2017 21:30:14 +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_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 E8207C21E93; Mon, 4 Dec 2017 21:29:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E6EF7C2209A; Mon, 4 Dec 2017 21:28:48 +0000 (UTC) Received: from mail-it0-f66.google.com (mail-it0-f66.google.com [209.85.214.66]) by lists.denx.de (Postfix) with ESMTPS id AADECC21DE5 for <u-boot@lists.denx.de>; Mon, 4 Dec 2017 21:28:43 +0000 (UTC) Received: by mail-it0-f66.google.com with SMTP id p139so16384181itb.1 for <u-boot@lists.denx.de>; Mon, 04 Dec 2017 13:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=jWR2yiyOWSs+IC+lxFCvlOucf+Weec9Sux7wS25+cmA=; b=YZ4eULW/TDWPC/BR5UDc4qHJVQk3lTOGNfvyo82fNb9gKhGSTBssDUGH9Mnn5cEMJf cHYW0x2gRHOJcDucN5rs5HXXhAVt+4cc6OvByaQkyY5I8Z0MxGDzd51b56DlxnSwMwXH OKcFpbefzZeq/X37Z3Mx/OggZGTWObj2l/D6aToYD8zWcQ6zihvUEWaCyT5135lqN57k /cpvIGLh0JcqIgYuqbFgNedASkaKSBss6MjeVMnFv26uGMrr7Z8HoJEi0j1OVJavF3I3 UV4Wn7fv8W6YyeD3BhhwdhzwDcoM8DOJMACToxPdz9/6z+1CGUVs6RKh//JgF02sqjXE CyLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=jWR2yiyOWSs+IC+lxFCvlOucf+Weec9Sux7wS25+cmA=; b=XLXTueZ7sa1+fPJovagMHfjS1zze4Qj/8DHYw1NwmXSDnnJ3woRXV+GgJimml+0Twn 9BHavYh1k7g2hCwJddew1iS4XgUgKHcsoc0WiFZCw0a0DXzcNRD2RpdxO5fHcO/uNp0I fec7BBjuTZTIbVdeluLCntlvtEitK8sU6ClWsOFit/unHd9eoYw5kf+mm60upboAA0Jw wumepdr9mqLq63Beu3luTdsrvcvndqMBIp/+fDVKXgdW74TpahKVNEfh7LJ8r+t7eBit 0g5UxOcEEjLJJAEO9vvrxRUsNkMcm6t+1svuvGFVwptvMVGgpQwH4MtjfdV88k7Y8JYX uZHQ== X-Gm-Message-State: AKGB3mIf12wJpQIoe2CZwbcq2VCw9a2ZKDAPXsmT1bjtEgNPfS+MAKSq k4ucgLA1U2wIzW5TSvNIMspDqQ== X-Google-Smtp-Source: AGs4zMZrts6S6xnbRQ2Lo1lLteIx1HJKgnpOize/9agPqju5rc+cYzYt7i9MV7yEGdNfWG7vWIQz/A== X-Received: by 10.36.107.69 with SMTP id v66mr6895079itc.10.1512422922246; Mon, 04 Dec 2017 13:28:42 -0800 (PST) Received: from kiwi.bld.corp.google.com ([100.67.80.24]) by smtp.gmail.com with ESMTPSA id c8sm4151435itg.15.2017.12.04.13.28.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 13:28:41 -0800 (PST) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id 5DDBE143C42; Mon, 4 Dec 2017 14:28:40 -0700 (MST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Mon, 4 Dec 2017 14:28:20 -0700 Message-Id: <20171204212832.130100-5-sjg@chromium.org> X-Mailer: git-send-email 2.15.0.531.g2ccb3012c9-goog In-Reply-To: <20171204212832.130100-1-sjg@chromium.org> References: <20171204212832.130100-1-sjg@chromium.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Alexander Graf <agraf@suse.de> Subject: [U-Boot] [PATCH v2 04/16] efi: Add a TODO to efi_init_obj_list() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
efi: Enable basic sandbox support for EFI loader
|
expand
|
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index a2138f6075..a4686f17f0 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -28,6 +28,10 @@ static struct efi_device_path *bootefi_device_path; /** * efi_init_obj_list() - Initialize and populate EFI object list * + * TODO(sjg@chromium.org): Move this to a dynamic list based on driver model, + * so that it does not need to be created before running EFI applications + * and updates when devices change. + * * @return 0 if OK, -ve on error (in which case it prints a message) */ static efi_status_t efi_init_obj_list(void)
This function repeats data structures provided by driver model. They are only created once so can be stale if the EFI loader is called twice (e.g. for testing or on boot failure). Add a TODO to address this. It should be possible to attach EFI devices and data structures to driver-model devices and avoid having a parallel set of data structures. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v2: None cmd/bootefi.c | 4 ++++ 1 file changed, 4 insertions(+)