From patchwork Thu Apr 19 10:42:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 133739 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp478037ljf; Thu, 19 Apr 2018 03:42:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx49JpYVLd/V81+68dcQX//l80YSPPrgm9maymXZPZ34/mRKXVWMUyuluyMnxUMjgJ2hP4Tbl X-Received: by 10.98.192.80 with SMTP id x77mr4057863pff.67.1524134571684; Thu, 19 Apr 2018 03:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524134571; cv=none; d=google.com; s=arc-20160816; b=XoHYgkUUW/ZCVrgw/hBColG045drJoM09x90U+evpC9bqN7QPg3328mwSS4h/rgHlO L70J69IzQ3anMi1d/zpN1LHlwOEXpCV3FyiP5X1nVgDLHOp0G+Cv+NdBX2o/HJM37DXo NjudDR3wW3knyV+jyZQPghZ+b7nPRynQdNWyDNBhzVH+MVF7m6tevcKDoGVmssh0duA9 DgI2pxrc+IBYM6lRxIou477CuYFZUh8XzCmvXULtmE+FE4BL9HrQuNxHAAU/29GUz2OZ n9C8b2YDPIx0raHZT4hwI/9fj++g8+iMhsoTk6ZHOe5rrvD5AV2CaCU/qgOmQzMBrfRH MQOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=VvfdaTKA/ReB1npzwuw/fyzuhtZ3waPySnNseM5/l/o=; b=MxRRJFOKxgAfbLtFsi1qQnr1QaLGlR1+3GG4XmBdVHSZK59bh2kxuQwkMEgtVDvKUN Y6vN6XS1fjJms6sKfFhnTVml1VpRq9GxM45GisLiM00hqgW8GyYKpMlzeEhafCRxx/bh wKrBimXWY7KKpNpa44z9+Jve+JFmqU+yTGGIMRoH6WB4ccrppN8hXeIBdCQru0NsScSi fM6puh52qVpfNbLZ7YiHHP6quqexGjdl2kcxnYNcp9qsnw/QJ5paJTFTdx1ewqsM/HXg UWU1yvT87KR+cFRJQY4X32rPBK48XhPPvutJPsQGU2nBLmv9UNTWBY8fncmF9kH0615F Tn1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KqSBJL0j; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id z3si2873581pfe.255.2018.04.19.03.42.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 03:42:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KqSBJL0j; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 46459226847AD; Thu, 19 Apr 2018 03:42:51 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::243; helo=mail-pl0-x243.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) (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 B153D22683917 for ; Thu, 19 Apr 2018 03:42:49 -0700 (PDT) Received: by mail-pl0-x243.google.com with SMTP id w12-v6so3013783plp.0 for ; Thu, 19 Apr 2018 03:42:49 -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=R3s7PP6hdhDdJNhB3uAn2cUNiSxU4/wLNNMPGmrt0us=; b=KqSBJL0jcbC/zB6g1MF0w1BPiH7PpiieggIA7M9aeSoDBuHg2KL7akRuAx8Xcp4wYW 6ickpib+tkB2oLOjO6ZxqGtUJdsnOcXgiUBvxMCKHwpZbrzu0HIGKfHi09UQZcxWk5Tw ia8KZyjFp0rkNgqXhaGTSDYnBqhQOEQRPQBjY= 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=R3s7PP6hdhDdJNhB3uAn2cUNiSxU4/wLNNMPGmrt0us=; b=YlEO3tJc19+bpja+wf5VoPt/mqzqGe3sTK8UrmrNgMCfUDThs8oy3raNc3pu0Yg6Lm 6hmhv7LEwTXAxBb9oQtJ4RXFTT2JC9uVmV4kTxAglqfhWXI24YygWCA24YD9ltQ3Q7RI yS2hNPB6e5w2BXVPEiSvRfVgliFD+V0G85gABuWsmFmUvGzXRoEmJo9DM8lTvT4RrRC1 O/enBvxIUSzR5Zzk80PgN8rXdizefjFMtGs7J0834hDYMwh7aDffmQIIikYnBlkMXjGA eFa33wjYaBAEEy5oZuPzzDSDZAfmjUwjW4Xkwx8eWb4t70SMQKGZQmThLK1M3eU0Zg5R sSww== X-Gm-Message-State: ALQs6tCw1gwpRzS2LLkrT9ETRjIzi/3dDmKRqLxTYw9UPjxcXmUcgcWo LmdHDTcxV2l0f5N8qALYU50cnwe8qkc= X-Received: by 2002:a17:902:42a5:: with SMTP id h34-v6mr5619094pld.65.1524134568868; Thu, 19 Apr 2018 03:42:48 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.105]) by smtp.gmail.com with ESMTPSA id d4sm8593913pgc.43.2018.04.19.03.42.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Apr 2018 03:42:47 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Thu, 19 Apr 2018 18:42:38 +0800 Message-Id: <1524134560-1245-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v3 0/2] add platform boot manager protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haojian Zhuang MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changelog: v3: * Update the name of interface. * Move the initialization into platform driver. * Fix comment style. * Fix minor issues with comments. v2: * Avoid to use hardcoding value. Create boot options by functions. Haojian Zhuang (2): EmbeddedPkg: add platform boot manager protocol ArmPkg/PlatformBootManagerLib: load platform boot options ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 83 ++++++++++++++++++++++ .../PlatformBootManagerLib.inf | 2 + EmbeddedPkg/EmbeddedPkg.dec | 1 + EmbeddedPkg/Include/Protocol/PlatformBootManager.h | 46 ++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 EmbeddedPkg/Include/Protocol/PlatformBootManager.h -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel