From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::231; helo=mail-pf0-x231.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 52ECB226CD60F for ; Sun, 22 Apr 2018 23:22:05 -0700 (PDT) Received: by mail-pf0-x231.google.com with SMTP id f15so8398510pfn.0 for ; Sun, 22 Apr 2018 23:22:05 -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=si08wRhLBQjVrfv92CwZ20AAoaqRKGvzWPFFiabnJ80=; b=MmHG3iBdTcb/NRNvHHJFCEvHI5HKKGODuzu52lOtTNJCPRnGjwxtBaKWnF+iYUSyw9 /Ql8f4skgkkX1fGkqv/lxLjCQ7vZUHkifc5sIJW0XbrV6we4Yn+968Gz0FRdAgOVgOPb vPMDsxpyojugDmQ9mbgS973Xgxfte9rU1etEU= 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=si08wRhLBQjVrfv92CwZ20AAoaqRKGvzWPFFiabnJ80=; b=JQ527JKGhMzQ9NnUSdoFIc5W5hpK4fq6g02ZJNNK416SsqeOkt8YblhmPqzySQxveq f+UlcsIwJ4cjTme0uOAc/W9SdzScOI24VjyxDu0x9N7m5d0O1VrHIfnuuQlnO1oIxPeV YcKmTr58fi8b9Us799SO9Mvg8MyNjQo54Z7JDshu5tQp2ckQm9xkbuToZElPUt/wtaWs dxMVsPY9SkCC1C+H0WaiJwG3uzkTw4fcf1iJWZ0ibBj3QDWELvJr7+S2AAjzREdX3WU1 ZlC1/9UJGwOT4YU4t5m9KE+7Whe99lIYFa79gUoffcBCT5G6Z6kfgTFbViGj/1kywV0t r28g== X-Gm-Message-State: ALQs6tAZ29XV+R3ZSOCTxbcI5gds6wilDmI+YXk5YZmQ5VkJs3sM8+H5 lfpB1xPM3bpgcwp6wSdYOWplwMtPQPk= X-Google-Smtp-Source: AIpwx49ndGy2vRILT6PmxNeCR2cT9AJD0CFvamF+swsSCQi9HjoAwz9O2n3ytPke9dpTstpyk9AF4Q== X-Received: by 10.98.161.10 with SMTP id b10mr18814942pff.214.1524464524352; Sun, 22 Apr 2018 23:22:04 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.101]) by smtp.gmail.com with ESMTPSA id u4sm8258771pfn.3.2018.04.22.23.22.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Apr 2018 23:22:03 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Cc: Haojian Zhuang Date: Mon, 23 Apr 2018 14:21:52 +0800 Message-Id: <1524464514-14454-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v4 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: , X-List-Received-Date: Mon, 23 Apr 2018 06:22:05 -0000 Changelog: v4: * Add BootCount parameter in the interface. * Clean the logic on boot options according to Laszlo's comment. 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 | 103 +++++++++++++++++++++ .../PlatformBootManagerLib.inf | 2 + EmbeddedPkg/EmbeddedPkg.dec | 1 + EmbeddedPkg/Include/Protocol/PlatformBootManager.h | 86 +++++++++++++++++ 4 files changed, 192 insertions(+) create mode 100644 EmbeddedPkg/Include/Protocol/PlatformBootManager.h -- 2.7.4