From nobody Mon Feb 9 12:29:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529932373519607.7910822237192; Mon, 25 Jun 2018 06:12:53 -0700 (PDT) Received: from localhost ([::1]:46810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXRIa-0007x6-JY for importer@patchew.org; Mon, 25 Jun 2018 09:12:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXQr1-0001yZ-IU for qemu-devel@nongnu.org; Mon, 25 Jun 2018 08:44:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXQr0-00082q-NK for qemu-devel@nongnu.org; Mon, 25 Jun 2018 08:44:23 -0400 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:42891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXQr0-00082f-Hy; Mon, 25 Jun 2018 08:44:22 -0400 Received: by mail-qk0-x230.google.com with SMTP id u62-v6so4824354qkf.9; Mon, 25 Jun 2018 05:44:22 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id m15-v6sm12549562qtm.84.2018.06.25.05.44.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 05:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bCdZdki+FpDloqz02q7J0g7sSirFO9erYi+TTCX6QF8=; b=gJVSWbk9jvtqS/TeiqLky7YYX0pT+R430vBBptuk5DuA3CSfoN0cRjuBYaxkxKlf+r gQkH0NBpWgU8IUwyEOUNzEz4QNc7+62CtgrWmLRJ9rtSvBCAnSs8eK2rLuWkYUivgceu 1gpFNao89VqEQ7DLR+HzkPl3LJcLnTuJ0nPrdgaFlAK6BZSPPrivpJUzb/NxLw4MBR4Z 2VjPUL6noxHFJtUIzvUiZSxSMinUTfKAt/5/XoVvUdrCalVYhsUP5ah1TmdgnCG+gjka 1ScDTcAGXkVIubiE9K6pORzE0z0TvG/pLKea+zcwnI+gPlKvh0nKF/473SzabjG2j6Zx 9xJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=bCdZdki+FpDloqz02q7J0g7sSirFO9erYi+TTCX6QF8=; b=DitByo//4gaKGk28cXAdQMlAs6nW7vaDFuKH0rB7p+6JnIMG682Np7NgINM+BSPND2 op9vqeNVit9qb8BBggEw0XAnBLOti/YfGfggLYAhg6DY8IwzS9MQavbP+qupSvdwJg2C W9tw7O7kN5xKjwnRBSiGzBLRG2h2DDhPFlUt9ow2w26JWZ7dsbZzUBiV/FR7tzK5juo9 3sxVeIogPi1iWDJ9H+F5CTFoKFr9BbEOfFSFct5CKktzWUcHlAUP0FtA13ncJFX6ezKS oMWXKWW82dVJIMWWpnZmlI1YH7DxSDiA9uaE3owGh/yBTm+XP48zAPrS4VYfqzyMrqyB oZHw== X-Gm-Message-State: APt69E3MeeaJOSXwJGtsHHwiU5zSeIEFvwaS1BoqRASOHivLeKUCmp7v lGTAvmLBMF8WPsHG8nbBUAA= X-Google-Smtp-Source: AAOMgpdMpnYrY66gxVRi1+QDcp0Y7+jzdkSivPWAAeNiaqfp0TaeyGMiasEm8tlxhc83xwk639MUnA== X-Received: by 2002:a37:3a45:: with SMTP id h66-v6mr3695760qka.118.1529930662061; Mon, 25 Jun 2018 05:44:22 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Thomas Huth , Stefan Weil Date: Mon, 25 Jun 2018 09:42:18 -0300 Message-Id: <20180625124238.25339-27-f4bug@amsat.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180625124238.25339-1-f4bug@amsat.org> References: <20180625124238.25339-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::230 Subject: [Qemu-devel] [PATCH v5 26/46] hw/cris: Use the IEC binary prefix definitions 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: qemu-trivial@nongnu.org, "Edgar E. Iglesias" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- hw/cris/axis_dev88.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c index 56ee398ee5..191292eebf 100644 --- a/hw/cris/axis_dev88.c +++ b/hw/cris/axis_dev88.c @@ -23,6 +23,7 @@ */ =20 #include "qemu/osdep.h" +#include "qemu/units.h" #include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" @@ -242,7 +243,7 @@ static const MemoryRegionOps gpio_ops =3D { }, }; =20 -#define INTMEM_SIZE (128 * 1024) +#define INTMEM_SIZE (128 * KiB) =20 static struct cris_load_info li; =20 --=20 2.18.0