From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAF97C04AB1 for ; Thu, 9 May 2019 17:08:27 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9568E2173C for ; Thu, 9 May 2019 17:08:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IMDib/93" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9568E2173C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:58105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOmWw-0006TI-MI for qemu-devel@archiver.kernel.org; Thu, 09 May 2019 13:08:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOmO9-00070y-Nd for qemu-devel@nongnu.org; Thu, 09 May 2019 12:59:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOmO8-0004uJ-Qy for qemu-devel@nongnu.org; Thu, 09 May 2019 12:59:21 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:36387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOmO8-0004tp-Jc for qemu-devel@nongnu.org; Thu, 09 May 2019 12:59:20 -0400 Received: by mail-wm1-x341.google.com with SMTP id j187so4086727wmj.1 for ; Thu, 09 May 2019 09:59:20 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tdq1lhooOg5isCiP/Tk4l5zr7fBDvEhDVLC+/j+f1ds=; b=IMDib/93ol23iPrWyW/F7kO/9wH92f8u59c5iSKm7GANCOH8PgYrtqqnFVJP5ShVMt kZX3XY+26CQVpfqHLulQTHm13DB2g8rCUosF3oJ2o7HcZnGkTqPbH+ScvfX0PEN0R4t2 AqIZRSSj621U1EEJZoKEKFWoDJVZxq6/FphzrvoAyl4+zA2q93EHk+UVKoZXxIoiUs5b LVH01L/+Gapre4RFdvQQH7j1Ws32DETZnXChH8tfCSuB/2pqF/YZ88cM8vmEco7KloRz otQHv7bU8c8OHJEeofiz0uqz/C2fbiIU/o2YHb2dKawK8m2SSMxtPNYj98fPc4bDLD4L qyrw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tdq1lhooOg5isCiP/Tk4l5zr7fBDvEhDVLC+/j+f1ds=; b=LMQc3ad13ogCmPFB5ABO0CWVRj+Lssp/64uvGc4JY3g5bSdK7ynpPNsH1+9PA8j0AP 2zXfKbSTigac9TnZWGwhCo7+K/RVzsTL2EwQ+oOVgHDGDg8w8NAO9IyCmFcX/W4c4mpE Z7qDQwP+cm5L7bD+7fco/nKfWKbJymy9FRSb/E25iHa8tHuQm8XVxE/EG488CBAw11LU 74h0331L6BZhNpAmpUkPvVmrRaxjoNHbM2fAHEjnEbzjwZ7bj1P6vGWjn46BlnAiIVCR XHM4Jd1wrS10Dardq3qJlAmWwodm6ixoZwIMO5Up0KL0oLJ0LUlZgWiesQRXNXFYnRiO stgA== X-Gm-Message-State: APjAAAXpV5644VmalTo3zbdEEXOXIbQ9aSja/L5wl/TynjcBJNBIWttA eudevyUNVpIWmf7kOnbffBxzQg== X-Google-Smtp-Source: APXvYqxH1oSgQ3WGcCK1WOH8KqwiX57S5dfFErkDMoxdiLvrN/sjbJgmBvBFUK0omjqB8B3lgeY99g== X-Received: by 2002:a1c:b789:: with SMTP id h131mr3660096wmf.71.1557421159607; Thu, 09 May 2019 09:59:19 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o130sm1685061wmo.43.2019.05.09.09.59.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 May 2019 09:59:17 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C3F791FF99; Thu, 9 May 2019 17:59:12 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 9 May 2019 17:58:57 +0100 Message-Id: <20190509165912.10512-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190509165912.10512-1-alex.bennee@linaro.org> References: <20190509165912.10512-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 Subject: [Qemu-devel] [PATCH v1 09/23] tests/tcg/minilib: support %c format char X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- tests/tcg/minilib/printf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tcg/minilib/printf.c b/tests/tcg/minilib/printf.c index 121620cb162..10472b4f585 100644 --- a/tests/tcg/minilib/printf.c +++ b/tests/tcg/minilib/printf.c @@ -119,6 +119,9 @@ void ml_printf(const char *fmt, ...) str = va_arg(ap, char*); print_str(str); break; + case 'c': + __sys_outc(va_arg(ap, int)); + break; case '%': __sys_outc(*fmt); break; -- 2.20.1