{"id":812099,"url":"http://patchwork.ozlabs.org/api/patches/812099/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170910112149.21358-8-robdclark@gmail.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170910112149.21358-8-robdclark@gmail.com>","list_archive_url":null,"date":"2017-09-10T11:21:24","name":"[U-Boot,v2,04/21] efi: add some more device path structures","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"ef31c07bc15f576b7807eedee74dff9c714f4633","submitter":{"id":18760,"url":"http://patchwork.ozlabs.org/api/people/18760/?format=json","name":"Rob Clark","email":"robdclark@gmail.com"},"delegate":{"id":3400,"url":"http://patchwork.ozlabs.org/api/users/3400/?format=json","username":"agraf","first_name":"Alexander","last_name":"Graf","email":"agraf@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170910112149.21358-8-robdclark@gmail.com/mbox/","series":[{"id":2383,"url":"http://patchwork.ozlabs.org/api/series/2383/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2383","date":"2017-09-10T11:21:17","name":"efi_loader: enough UEFI for standard distro boot","version":2,"mbox":"http://patchwork.ozlabs.org/series/2383/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812099/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812099/checks/","tags":{},"related":[],"headers":{"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;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"O+Vl5MN/\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqpcv0nZ5z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 21:25:03 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid C3D02C21EA9; Sun, 10 Sep 2017 11:24:21 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AC8D5C21F1D;\n\tSun, 10 Sep 2017 11:23:12 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 2C7E6C21E7C; Sun, 10 Sep 2017 11:22:31 +0000 (UTC)","from mail-qk0-f195.google.com (mail-qk0-f195.google.com\n\t[209.85.220.195])\n\tby lists.denx.de (Postfix) with ESMTPS id E6037C21EBF\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 11:22:27 +0000 (UTC)","by mail-qk0-f195.google.com with SMTP id g128so3987492qke.0\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 04:22:27 -0700 (PDT)","from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\to190sm4261175qke.59.2017.09.10.04.22.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 10 Sep 2017 04:22:25 -0700 (PDT)"],"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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=0HLerYTmPnGMALX7+280qm7VekjKZjPCzmGTASJHnXA=;\n\tb=O+Vl5MN/jyb/kvZr4jxYQsw3FkG0LElVmXyoJe9IuoM+jqvHEWFMfr5dK2CxuBayXD\n\t+u0lMWBOstRKMRklp9vCIE4K6ojaXl31jwnIfrisKy8tPsYlARNa1qtziSvy12wyBWI1\n\tq1bD1N5Yob7UYbPDEZzZgBbJQBd8ZvK9RKNOlhs6HcRu8N/qnYmnxfhUVFfECi1nZiP+\n\tS2FaYzqWA/lqn6qzdTpzl3MgX09S148iaW2HHtrmPUwXbjgdLEET2+OcDQXkDj8/yNse\n\tOHvUzo8QHpS7uqsMgYg+RYsZx6gWkjOWAlqtuq2d3+p4Laa7q6H+9JrxOwR2QJM4KzLP\n\t/5RQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=0HLerYTmPnGMALX7+280qm7VekjKZjPCzmGTASJHnXA=;\n\tb=VCSE5/JMAfyVrsKPVU7iQ6uVwYAHAbAdLbB4yfcMeDY2z56R0JHWZV3Ot7+E4Q9Ml7\n\tvuj0p3PyUlHEQcSwz0qBXeVV49HmfuAz00czNdXqGnzddu7K5tFJf0Tt4JaJjN3udmsh\n\tmQ/EK3TrwK4GIU+Y0Ok7O5FTt8xaiQ12TuyKDi8iKHxh9Fs8mZMWkX4IZAvsePhV6Icv\n\t4QT9NZdlahl4yBMb8412LP/Aw2O7oKEB4MhKdnyvXzNGRwgHr7vgvzZ6Gu3waH0nKwm2\n\tIM81Kyb6u1/QLqCDEKuYaLQXhnkCn4GuiqzA9BsSgmGxmNoJKEeMnyPttOf8IlVK2iph\n\t5sdA==","X-Gm-Message-State":"AHPjjUh8IOGjaRMBREAzETuvbEVsBhoM7mtEgFLrrnDmdXzMSB4H4j1K\n\t8z/tGSUkOC58HMssYN0=","X-Google-Smtp-Source":"ADKCNb4xhOZ2FBK0J/kc7ay9aEaJtWxf7QEc8o4GrKdMWYjriWL++2zZ1jzpuw/mXtBOEMB8u+43aQ==","X-Received":"by 10.55.93.67 with SMTP id r64mr10633058qkb.358.1505042546674; \n\tSun, 10 Sep 2017 04:22:26 -0700 (PDT)","From":"Rob Clark <robdclark@gmail.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Sun, 10 Sep 2017 07:21:24 -0400","Message-Id":"<20170910112149.21358-8-robdclark@gmail.com>","X-Mailer":"git-send-email 2.13.5","In-Reply-To":"<20170910112149.21358-1-robdclark@gmail.com>","References":"<20170910112149.21358-1-robdclark@gmail.com>","Cc":"Heinrich Schuchardt <xypron.glpk@gmx.de>, Peter Jones <pjones@redhat.com>","Subject":"[U-Boot] [PATCH v2 04/21] efi: add some more device path structures","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>,\n\t<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>,\n\t<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>"},"content":"From: Peter Jones <pjones@redhat.com>\n\nSigned-off-by: Peter Jones <pjones@redhat.com>\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n include/efi_api.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 54 insertions(+)","diff":"diff --git a/include/efi_api.h b/include/efi_api.h\nindex 175341348e..b761cf4822 100644\n--- a/include/efi_api.h\n+++ b/include/efi_api.h\n@@ -290,8 +290,38 @@ struct efi_mac_addr {\n \tu8 addr[32];\n } __packed;\n \n+#define DEVICE_PATH_TYPE_HARDWARE_DEVICE\t0x01\n+#  define DEVICE_PATH_SUB_TYPE_VENDOR\t\t0x04\n+\n+struct efi_device_path_vendor {\n+\tstruct efi_device_path dp;\n+\tefi_guid_t guid;\n+\tu8 vendor_data[];\n+} __packed;\n+\n+#define DEVICE_PATH_TYPE_ACPI_DEVICE\t\t0x02\n+#  define DEVICE_PATH_SUB_TYPE_ACPI_DEVICE\t0x01\n+\n+#define EFI_PNP_ID(ID)\t\t\t\t(u32)(((ID) << 16) | 0x41D0)\n+#define EISA_PNP_ID(ID)\t\t\t\tEFI_PNP_ID(ID)\n+\n+struct efi_device_path_acpi_path {\n+\tstruct efi_device_path dp;\n+\tu32 hid;\n+\tu32 uid;\n+} __packed;\n+\n #define DEVICE_PATH_TYPE_MESSAGING_DEVICE\t0x03\n+#  define DEVICE_PATH_SUB_TYPE_MSG_USB\t\t0x05\n #  define DEVICE_PATH_SUB_TYPE_MSG_MAC_ADDR\t0x0b\n+#  define DEVICE_PATH_SUB_TYPE_MSG_SD\t\t0x1a\n+#  define DEVICE_PATH_SUB_TYPE_MSG_MMC\t\t0x1d\n+\n+struct efi_device_path_usb {\n+\tstruct efi_device_path dp;\n+\tu8 parent_port_number;\n+\tu8 usb_interface;\n+} __packed;\n \n struct efi_device_path_mac_addr {\n \tstruct efi_device_path dp;\n@@ -299,9 +329,33 @@ struct efi_device_path_mac_addr {\n \tu8 if_type;\n } __packed;\n \n+struct efi_device_path_sd_mmc_path {\n+\tstruct efi_device_path dp;\n+\tu8 slot_number;\n+} __packed;\n+\n #define DEVICE_PATH_TYPE_MEDIA_DEVICE\t\t0x04\n+#  define DEVICE_PATH_SUB_TYPE_HARD_DRIVE_PATH\t0x01\n+#  define DEVICE_PATH_SUB_TYPE_CDROM_PATH\t0x02\n #  define DEVICE_PATH_SUB_TYPE_FILE_PATH\t0x04\n \n+struct efi_device_path_hard_drive_path {\n+\tstruct efi_device_path dp;\n+\tu32 partition_number;\n+\tu64 partition_start;\n+\tu64 partition_end;\n+\tu8 partition_signature[16];\n+\tu8 partmap_type;\n+\tu8 signature_type;\n+} __packed;\n+\n+struct efi_device_path_cdrom_path {\n+\tstruct efi_device_path dp;\n+\tu32 boot_entry;\n+\tu64 partition_start;\n+\tu64 partition_end;\n+} __packed;\n+\n struct efi_device_path_file_path {\n \tstruct efi_device_path dp;\n \tu16 str[32];\n","prefixes":["U-Boot","v2","04/21"]}