{"id":811941,"url":"http://patchwork.ozlabs.org/api/covers/811941/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20170909104746.5948-1-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":"<20170909104746.5948-1-robdclark@gmail.com>","list_archive_url":null,"date":"2017-09-09T10:47:38","name":"[U-Boot,v2,0/5] vsprintf and short-wchar","submitter":{"id":18760,"url":"http://patchwork.ozlabs.org/api/people/18760/?format=json","name":"Rob Clark","email":"robdclark@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20170909104746.5948-1-robdclark@gmail.com/mbox/","series":[{"id":2341,"url":"http://patchwork.ozlabs.org/api/series/2341/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2341","date":"2017-09-09T10:47:38","name":"vsprintf and short-wchar","version":2,"mbox":"http://patchwork.ozlabs.org/series/2341/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/811941/comments/","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=\"FAOfXl+u\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xq9rg4tX7z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  9 Sep 2017 20:48:03 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5A50AC21E54; Sat,  9 Sep 2017 10:47:58 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BC579C21D7D;\n\tSat,  9 Sep 2017 10:47:55 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 1AEE4C21D7D; Sat,  9 Sep 2017 10:47:54 +0000 (UTC)","from mail-qt0-f195.google.com (mail-qt0-f195.google.com\n\t[209.85.216.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 914C3C21C93\n\tfor <u-boot@lists.denx.de>; Sat,  9 Sep 2017 10:47:53 +0000 (UTC)","by mail-qt0-f195.google.com with SMTP id u48so31580qtc.4\n\tfor <u-boot@lists.denx.de>; Sat, 09 Sep 2017 03:47:53 -0700 (PDT)","from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\th19sm2706063qke.29.2017.09.09.03.47.50\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSat, 09 Sep 2017 03:47:50 -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;\n\tbh=BGoubZpagLV22+tAjqzrVBaZ+NxUfHlpUoh00S3TAT4=;\n\tb=FAOfXl+uG9jM0lk4+N17Rp16UXRmUQsNV6TRG/fLyP4CURlQbYGw/K8EW0nFwNMzE3\n\tuA3o1Rbv+wTzt7n270Hdkk7IKi3QNrClS4FNIJTTLm4gLSdeSknTOaxNPKx1By0qw3iH\n\tMsxJiTWS950Uo8NRvHfJGCytwS8VTxKfw4YIj2E+WT24r7Wdx/pgc9frg3QUFKD/JpsD\n\tKeI2gtirRhdtk1k+G+EWWindc9wFbDH62wqpw+vTlgkHZC+4Y07Q1XWXeLY/pzy/3QCZ\n\tPVO6SSjuQjfSHIu0Cmu4F+m/ZQ9xDGw+0OKKo/Rj8lufUUQXpyL0ApK+LHyxSVXXtf6U\n\tpTVQ==","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;\n\tbh=BGoubZpagLV22+tAjqzrVBaZ+NxUfHlpUoh00S3TAT4=;\n\tb=GgvZTvBd5caIZchcHPhcavfNLoZP07yXcmVpU5nwMNyUEiUJQA0e0/MGFdZiHw1qrG\n\tqR+Jirs0h0vsTelZ4imvhgdjI1R35BBKIkfBWgoU5g/DwdqFeB2wxqUMJdZgCPF/yguj\n\tyH9CVZyg6fsrN8OIO3MdScWn2e6rmpUkz61K1RRUhLhOGkxZyitkbuvwnF4owPi7STCG\n\t/zCHp+Y8fT/vH+GAjZ8CzslmBH6Iw53CGj7IfzU0RUTK1wuosSXpfkEkzFnxOb9YQG1c\n\tY0FWRVhQq5RNG1TKtgDB0oimIZlBAmH9xQygJSRiaLF53JNGlz0T/qEKDNM30YUocnkg\n\twdlQ==","X-Gm-Message-State":"AHPjjUhXiEdeUgexGojEzTYbkzQPDZaL78Pn8LaqwtmN3d1gzzvCVpwq\n\tu5tvJqCH46Ia0wW1H0k=","X-Google-Smtp-Source":"AOwi7QAJ6axMR/m2FgY4vdE1xmq++qnZF9Cwto0A69ltGoa/RkW2TM8EgnTEMMTTDrIVymj7wthOhw==","X-Received":"by 10.200.27.226 with SMTP id m31mr8358821qtk.198.1504954072045; \n\tSat, 09 Sep 2017 03:47:52 -0700 (PDT)","From":"Rob Clark <robdclark@gmail.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Sat,  9 Sep 2017 06:47:38 -0400","Message-Id":"<20170909104746.5948-1-robdclark@gmail.com>","X-Mailer":"git-send-email 2.13.5","Cc":"Heinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"[U-Boot] [PATCH v2 0/5] vsprintf and short-wchar","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":"This patchset enables -fshort-wchar and adds support to vsprintf (%ls),\nalong with GUID printing.  Both things needed by efi_loader.\n\nUnlike the previous version of the patchset, which had a kconfig option\nselected by efi_loader to enable -fshort-wchar, and at Tom's suggestion,\nthis patchset unconditionally switches to -fshort-wchar.\n\nNote that this patchset and the fs_readdir patchset (which I'll resend\ntoday) can be applied in either order.  But both are dependencies for\nthe stack of efi_loader patches to make normal distro boot work (shim/\nfallback and upstream grub being able to locate it's grub.cfg properly).\nSo either these could go before pulling efi-next or possibly have\nmultiple efi-next pull requests so Heinrich's efi_loader patches can\ngo first.\n\nRob Clark (5):\n  kbuild: Enable -fshort-wchar\n  lib: add some utf16 handling helpers\n  vsprintf.c: add UTF-16 string (%ls) support\n  vsprintf.c: add GUID printing\n  examples: add fallback memcpy\n\n Makefile                     |   1 +\n examples/api/Makefile        |   2 +\n examples/api/glue.c          |  12 +++++\n include/charset.h            |  65 ++++++++++++++++++++++++++++\n include/config_fallbacks.h   |   1 +\n lib/Makefile                 |   1 +\n lib/charset.c                | 101 +++++++++++++++++++++++++++++++++++++++++++\n lib/efi_loader/efi_console.c |  17 ++------\n lib/vsprintf.c               |  76 ++++++++++++++++++++++++++++++--\n 9 files changed, 258 insertions(+), 18 deletions(-)\n create mode 100644 include/charset.h\n create mode 100644 lib/charset.c"}