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::243; helo=mail-pf0-x243.google.com; envelope-from=kalyankumar.nagabhirava@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::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 1B3CD21B02855 for ; Thu, 7 Dec 2017 05:31:58 -0800 (PST) Received: by mail-pf0-x243.google.com with SMTP id p84so4706363pfd.3 for ; Thu, 07 Dec 2017 05:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=GnmjMOoVz2/3fz1k7isoB6BcTR65Y8DWH8Jdx/5uqaw=; b=C45e+ydZnSqGSDTIawT0GIWaRVwyT5ixw8AOFeD+mfbSf1iwD31YHaYqQkmJW2EibT Qu9Rj0KtfLf/J29yBYNwDhq1+8Mfsl8wKs1PC/3cM4uYd4zPd0LoUP/f//FG3GdGQ3KE hblEiLtLvskjhQ/dVs5RODN8ve/uSdU3hxDMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=GnmjMOoVz2/3fz1k7isoB6BcTR65Y8DWH8Jdx/5uqaw=; b=YAwoMDPaHflNycRcqlfgpx+aXHEyKhobaxB8Ir5ab+Qfx6FlQqlpx7l4FOEd1ihwHz 6SN8xS6qO8Xy/XrjxzqY1zgE1gPMl9I+wEo5zS+Pvv6W75PhL6VakkJnlXcfEA+eOGUK KmCl5T+MLmLkVBIqguumWsJqtNPwqifAOUP5jR7aXIpWaouugTU6GxCUw33a2aVdXL94 qjRB7v89K6st0ArGPrJK7xsxyXS08bVEZv7UB05UDPmDpN6MIerMIR3heXuSBKULQZw0 smRjseu9jcOBnUgfhr2a7ew9GB5Qb50O4mh69wEaI2DcoFe+BteLqbNJtgFNZfiESfSB 8NGQ== X-Gm-Message-State: AJaThX5JcyEG3aJdVKGXZQSRjpoErf6Tl3pk5K9c58OJxy3uqWrb3+eu adBrcU4DbnraZWCU7aKq+K5dKLrpROQ= X-Google-Smtp-Source: AGs4zMb4niBkxSjtVOs+MBzfNv4XcVG4lk09hS7NdJXSWSbrpu8/lY1xJ2N7K+qXseQhRxATXmIPag== X-Received: by 10.99.150.9 with SMTP id c9mr25097729pge.386.1512653791508; Thu, 07 Dec 2017 05:36:31 -0800 (PST) Received: from localhost.localdomain ([220.225.120.129]) by smtp.gmail.com with ESMTPSA id o70sm10477059pfk.79.2017.12.07.05.36.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Dec 2017 05:36:30 -0800 (PST) From: kalyan-nagabhirava To: edk2-devel@lists.01.org Date: Thu, 7 Dec 2017 19:04:24 +0530 Message-Id: <20171207133424.24674-4-kalyankumar.nagabhirava@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171207133424.24674-1-kalyankumar.nagabhirava@linaro.org> References: <20171207133424.24674-1-kalyankumar.nagabhirava@linaro.org> Subject: [PATCH v2 3/3] EmbeddedPkg: Httpimage downlaod application X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 13:31:59 -0000 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: kalyan-nagabhirava --- EmbeddedPkg/Application/Dri/Dri.inf | 56 ++++++++++++++++++++ EmbeddedPkg/Application/Dri/Dri.c | 26 +++++++++ 2 files changed, 82 insertions(+) diff --git a/EmbeddedPkg/Application/Dri/Dri.inf b/EmbeddedPkg/Application/Dri/Dri.inf new file mode 100644 index 000000000000..d6f24b48a6b3 --- /dev/null +++ b/EmbeddedPkg/Application/Dri/Dri.inf @@ -0,0 +1,56 @@ +# +# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. +# Copyright (c) 2016-2017, comcast . All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ + +[Defines] + INF_VERSION = 0x00010006 + BASE_NAME = RdkDriLoader + FILE_GUID = 081ba18a-d71e-40a7-99a9-cdb86463966d + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + ENTRY_POINT = DriEntryPoint + +[Sources] + Dri.c + +[Packages] + ArmPkg/ArmPkg.dec + ArmPlatformPkg/ArmPlatformPkg.dec + EmbeddedPkg/EmbeddedPkg.dec + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + ShellPkg/ShellPkg.dec + SecurityPkg/SecurityPkg.dec + CryptoPkg/CryptoPkg.dec + NetworkPkg/NetworkPkg.dec + EmbeddedPkg/Library/RdkBootManagerLib/RdkBootManagerLib.dec + +[Guids] + gEfiCertX509Guid + gEfiCertPkcs7Guid + gEfiCustomModeEnableGuid + gEfiImageSecurityDatabaseGuid + gFdtTableGuid + +[LibraryClasses] + RdkBootManagerLib + UefiApplicationEntryPoint + +[Protocols] + gEfiBlockIoProtocolGuid + gEfiDevicePathToTextProtocolGuid diff --git a/EmbeddedPkg/Application/Dri/Dri.c b/EmbeddedPkg/Application/Dri/Dri.c new file mode 100644 index 000000000000..affbac08b602 --- /dev/null +++ b/EmbeddedPkg/Application/Dri/Dri.c @@ -0,0 +1,26 @@ +/* +# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + */ +#include + +EFI_STATUS +EFIAPI +DriEntryPoint ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + + Status = RdkHttpBoot (); + return Status; +} -- 2.15.0