From nobody Fri May 17 15:06:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) client-ip=209.85.128.54; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f54.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1615765618; cv=none; d=zohomail.com; s=zohoarc; b=NpcQZf2YVgEFihn4t1lSOZ8sdKIohgjO9e9fLZt6rtslAPRWN5eCmSHZjympGP7C5GDOKpYO1LpAG1aW4neRe2Vv3jsOTthqB0rbuKAzC5iDdsJj46oLl1ljgsTSuc8c6yknFvfoI4GgStEfbcJhVtHM9G/xHKAtwbBq24PDs7I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615765618; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=rVI2a6u1OVdVkViPot1TNwScg4C28/AcdQyGrXAd9nw=; b=ElVRjGbyE6+DVvVzj6f3W6H2oeEDpCXrvAt5UBpHwQmtxolhpMWzB+0f+7xht/fvprA4HxIhIz+cdc/R8Sp764t60vqBRf6l3AGPPt5hGgKjiEt28qdaNnqj4hIq7WitwAiQt73hElyNAZf1PG7G+CeI5JPZvDAqCbC9q39UBqA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.zohomail.com with SMTPS id 161576561829562.548653480545454; Sun, 14 Mar 2021 16:46:58 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id 124-20020a1c00820000b029010b871409cfso19212008wma.4 for ; Sun, 14 Mar 2021 16:46:57 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (17.red-88-21-201.staticip.rima-tde.net. [88.21.201.17]) by smtp.gmail.com with ESMTPSA id d204sm10810969wmc.17.2021.03.14.16.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Mar 2021 16:46:56 -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=rVI2a6u1OVdVkViPot1TNwScg4C28/AcdQyGrXAd9nw=; b=XUqlSC7XEYv4tnG1weRRZHn46djRC55aEgStFLNf3M5poiPc9WxluOl3dfMSblZD0z FbLyYpfPuREqsgXCzsZlaqzRHDme8DGcRn2i7TALCF5zsAOgElkmGAWAGFEwDeAYnkzc RKKkbP4jSw7TdhoZu5lHnVKszlaSYr99o08OGH30p+tc51BaenZWGGAJIqhxjQvFulT7 S+YYCwRxK9FDshkhq5bleM7pwnNcFpwMFaV12KNGfy7yNEBILhA2b1PKHxZJEyn9OJu+ 7hg7IHR2fcGP04PMMyDdqfMhkLmCycj0n8LY+/O0H/i9R52NTRJHaLWZezKqgH8pigMM IlyQ== 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=rVI2a6u1OVdVkViPot1TNwScg4C28/AcdQyGrXAd9nw=; b=SdxSSdsOWE20wZd7h7Y75Cyya1hOygxsN/SNSPFG1XHV07AQfqgHAnwXB7wow17RyT /RT7ufr0ffTpb+PNWF+V83QxW0/ICseGMD3iIztgiT8dvzWZ0m6BDGtuBi9RY7U83CzF YWijTjSnOi4Q5y7F/31T5dn8jbkHGtSdALxiBB21sYuYPfPccAilHX2s/QkIVrv8w1Y3 lbLMQuvgnHKwUYvAZzwKPNwD8canpafHeqoE4cnvZdZE/064NBB1lxhOp6nw/J5+bN8n +N60qFBXQUdLOUv50J62xNxJV8y7Doej64P+K2ZkCdgyBloBrIBCEGyY+SK8vshh1vDi r87g== X-Gm-Message-State: AOAM530C8TNO+nopgNHBZkKVXIp09SWPBaDLgIdUXdLoaVwUVoXi30x9 RgGUFugFMZVw3qVoZC9iEg4= X-Google-Smtp-Source: ABdhPJweYELgaXrRSBqlhpZ7KSQ96sERAn15ePrxT6fMg35j5DYvXUJ+786AOMEWdy3Nv9ec2FsPrA== X-Received: by 2002:a05:600c:2946:: with SMTP id n6mr23157169wmd.52.1615765616522; Sun, 14 Mar 2021 16:46:56 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sarah Harris , Michael Rolnik , Richard Henderson Subject: [PULL 1/4] hw/misc/led: Add yellow LED Date: Mon, 15 Mar 2021 00:46:46 +0100 Message-Id: <20210314234649.2614590-2-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210314234649.2614590-1-f4bug@amsat.org> References: <20210314234649.2614590-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) Add the yellow "lime" LED. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Reviewed-by: Michael Rolnik Message-Id: <20210313165445.2113938-2-f4bug@amsat.org> --- include/hw/misc/led.h | 1 + hw/misc/led.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/hw/misc/led.h b/include/hw/misc/led.h index aa359b87c20..29c08795708 100644 --- a/include/hw/misc/led.h +++ b/include/hw/misc/led.h @@ -27,6 +27,7 @@ typedef enum { /* Coarse wavelength range */ LED_COLOR_BLUE, /* 475 nm */ LED_COLOR_CYAN, /* 500 nm */ LED_COLOR_GREEN, /* 535 nm */ + LED_COLOR_YELLOW, /* 567 nm */ LED_COLOR_AMBER, /* 590 nm */ LED_COLOR_ORANGE, /* 615 nm */ LED_COLOR_RED, /* 630 nm */ diff --git a/hw/misc/led.c b/hw/misc/led.c index 5266d026d0b..f552b8b6483 100644 --- a/hw/misc/led.c +++ b/hw/misc/led.c @@ -20,6 +20,7 @@ static const char * const led_color_name[] =3D { [LED_COLOR_BLUE] =3D "blue", [LED_COLOR_CYAN] =3D "cyan", [LED_COLOR_GREEN] =3D "green", + [LED_COLOR_YELLOW] =3D "yellow", [LED_COLOR_AMBER] =3D "amber", [LED_COLOR_ORANGE] =3D "orange", [LED_COLOR_RED] =3D "red", --=20 2.26.2 From nobody Fri May 17 15:06:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.50 as permitted sender) client-ip=209.85.128.50; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f50.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.50 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1615765623; cv=none; d=zohomail.com; s=zohoarc; b=N53ngJ1XXYHDpK9De+4bUT/gHIbpwohuNH4X2S/D5p4FaXV2B3rsrvU/IY/NOEX5aMad434gNe2I3/7HdRk55O78nQ/CDjTnu4q/Q1tK50XlfUiE2SokLJ1wUssZM+ouqL27jCGEAvc4yuDNZMnZ+GMZY7fNS2UK7OylNrAX2Ks= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615765623; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=suvH21j+YfDTj1CY1NkdjyzK1t6K7J8wSgbx8wa+lxk=; b=EZbcOocErdSfFtkK8e0Btpt+32jTsZPTPHp7PpNR3pMzP+YG+6+vvlQ6KkZ8doD63r9JNDgXnFMiB0mmkWGuPBM/5HNeJPeYp9XGoJ6GCd85ESC09pJ1iE062nb6BhPCrJiWGBx9Q7Xn82HNnXj6KclWwN9B14IDb51espPqTUs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.50 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.zohomail.com with SMTPS id 1615765623225809.7844275327733; Sun, 14 Mar 2021 16:47:03 -0700 (PDT) Received: by mail-wm1-f50.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so19226152wml.2 for ; Sun, 14 Mar 2021 16:47:02 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (17.red-88-21-201.staticip.rima-tde.net. [88.21.201.17]) by smtp.gmail.com with ESMTPSA id x23sm10461170wmi.33.2021.03.14.16.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Mar 2021 16:47:01 -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=suvH21j+YfDTj1CY1NkdjyzK1t6K7J8wSgbx8wa+lxk=; b=E9Hn3bExkNAeiBFbcaGfoXbz7yQYIHo2mfSUK+d916gnt/J+pR31w5STWZKoBkTQj9 nDRmIXgWu7taNPYTu59WFe6Suq4RzcHwxKABUWoZp5/UOfpI4/yBGmMZ/cslsUvV/4un aUweLVStmXX7aCoo3iYQT8zy8s89e7epCjB6eIwp8G1LTjJ8u5byZDWd4yGdtHyr5yo5 0AcoiEja4nxDvhBgqGEgEr/7F24XNOE7iUv0RlvI4isn8WxOilmX8ZEJ6GRDHwlA/XZO RZwJeSdWeaaP13ithIdqVNwZQwYMGBDyEuO3t+6quRiefLyJRg5FXhyBMBqKjDmhA10D RUsg== 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=suvH21j+YfDTj1CY1NkdjyzK1t6K7J8wSgbx8wa+lxk=; b=L9varUh6xiBoU8DPM0mKi7aDETvd0BlPth1djQsfAtsS1prh3YBtFuLIDMZSrYbpCh y0/3qgF4Htx2mN2mNGMhUKkeNCsy70YuArHxeM6dId6iY9r1flrPZX9SDhes8j69p7P4 IipR3M4abZ0FJuomXoLOgMqKFhoPdcsaCR1PyQNtm+70AdNfaog3Qy9bToyHVTxIpi1u i0k2ZFoHXEnke+m4Cr/71PGokj8oYPIYCtV2Dx7IVfijCv3HcgaCfuze0pkOnxxTKN0d 7lvuW1kK8AM4qSpLcCAONEwkqmYReI+pDC+dp9MD4OuJhalE+imF/IK1CnUinuY465gT YZHw== X-Gm-Message-State: AOAM532LmJQBUNWgazqmkVEUuDNR5CLdL6Ts38pIwPQzbIGM6UTVdGii lObSnC59eDZ6YBnv55xjvsE= X-Google-Smtp-Source: ABdhPJyT9LWDzaJ7Hg0W9pRTmrj01KpRhE3LAOb5nSvf9SD+d297b6k4hDparUtt0Rd7T48wTTVqCg== X-Received: by 2002:a1c:f702:: with SMTP id v2mr22708528wmh.131.1615765621527; Sun, 14 Mar 2021 16:47:01 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sarah Harris , Michael Rolnik , Richard Henderson Subject: [PULL 2/4] hw/avr/arduino: List board schematic links Date: Mon, 15 Mar 2021 00:46:47 +0100 Message-Id: <20210314234649.2614590-3-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210314234649.2614590-1-f4bug@amsat.org> References: <20210314234649.2614590-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Reviewed-by: Michael Rolnik Message-Id: <20210313165445.2113938-3-f4bug@amsat.org> --- hw/avr/arduino.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/hw/avr/arduino.c b/hw/avr/arduino.c index 3c8388490d6..3ff31492fa6 100644 --- a/hw/avr/arduino.c +++ b/hw/avr/arduino.c @@ -75,7 +75,10 @@ static void arduino_duemilanove_class_init(ObjectClass *= oc, void *data) MachineClass *mc =3D MACHINE_CLASS(oc); ArduinoMachineClass *amc =3D ARDUINO_MACHINE_CLASS(oc); =20 - /* https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove */ + /* + * https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove + * https://www.arduino.cc/en/uploads/Main/arduino-duemilanove-schemati= c.pdf + */ mc->desc =3D "Arduino Duemilanove (ATmega168)", mc->alias =3D "2009"; amc->mcu_type =3D TYPE_ATMEGA168_MCU; @@ -87,7 +90,10 @@ static void arduino_uno_class_init(ObjectClass *oc, void= *data) MachineClass *mc =3D MACHINE_CLASS(oc); ArduinoMachineClass *amc =3D ARDUINO_MACHINE_CLASS(oc); =20 - /* https://store.arduino.cc/arduino-uno-rev3 */ + /* + * https://store.arduino.cc/arduino-uno-rev3 + * https://www.arduino.cc/en/uploads/Main/arduino-uno-schematic.pdf + */ mc->desc =3D "Arduino UNO (ATmega328P)"; mc->alias =3D "uno"; amc->mcu_type =3D TYPE_ATMEGA328_MCU; @@ -99,7 +105,10 @@ static void arduino_mega_class_init(ObjectClass *oc, vo= id *data) MachineClass *mc =3D MACHINE_CLASS(oc); ArduinoMachineClass *amc =3D ARDUINO_MACHINE_CLASS(oc); =20 - /* https://www.arduino.cc/en/Main/ArduinoBoardMega */ + /* + * https://www.arduino.cc/en/Main/ArduinoBoardMega + * https://www.arduino.cc/en/uploads/Main/arduino-mega2560-schematic.p= df + */ mc->desc =3D "Arduino Mega (ATmega1280)"; mc->alias =3D "mega"; amc->mcu_type =3D TYPE_ATMEGA1280_MCU; @@ -111,7 +120,10 @@ static void arduino_mega2560_class_init(ObjectClass *o= c, void *data) MachineClass *mc =3D MACHINE_CLASS(oc); ArduinoMachineClass *amc =3D ARDUINO_MACHINE_CLASS(oc); =20 - /* https://store.arduino.cc/arduino-mega-2560-rev3 */ + /* + * https://store.arduino.cc/arduino-mega-2560-rev3 + * https://www.arduino.cc/en/uploads/Main/arduino-mega2560_R3-sch.pdf + */ mc->desc =3D "Arduino Mega 2560 (ATmega2560)"; mc->alias =3D "mega2560"; amc->mcu_type =3D TYPE_ATMEGA2560_MCU; --=20 2.26.2 From nobody Fri May 17 15:06:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) client-ip=209.85.128.54; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f54.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1615765628; cv=none; d=zohomail.com; s=zohoarc; b=HOMDVNxCYRPko3wYNzLAxuP5r7Zg05TN4eiZL/scS2jppTvAXB78+4rcb+r0Zz+YziUaKP43va2GOhX0YWFoTfYvkInc1H+uH+VPyRybMPQ6AEqJlX6JlrPhXFVo4H7jVaiKw8bnQPW5MQH7fNy96yEhZgL90qLUjfeJjD1eYQA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615765628; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=E/Sa5TlFlqVsLlc8EZ75aSLJitlZukV7o9bGnWCQErM=; b=Bgi1b6WCOcw3vaEtL/ImyADn5AAocVhHFv1KsT+NAPHwbJMEBBn3gGkoDLvYyjW+Qxi1DSk1xkTqKNcI/GBvPPYSkpageLhye2OaVGt4VDFQWFk9QHYJ2903ZthQfd0UNt6Wzbg6fLtblSg0WL5nWoU736hTX+Zkxs8U8+qDcwY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.zohomail.com with SMTPS id 1615765628254158.32220241574714; Sun, 14 Mar 2021 16:47:08 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id 124-20020a1c00820000b029010b871409cfso19212127wma.4 for ; Sun, 14 Mar 2021 16:47:07 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (17.red-88-21-201.staticip.rima-tde.net. [88.21.201.17]) by smtp.gmail.com with ESMTPSA id z25sm12191084wmi.23.2021.03.14.16.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Mar 2021 16:47:06 -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=E/Sa5TlFlqVsLlc8EZ75aSLJitlZukV7o9bGnWCQErM=; b=R/l0HUQALilj4SnnBpQbbAyEeDSN9AYc7ssCMzp14mxvJxot3+8EAscz2Kj2e06B5c TKywxpkwIqC0tcV0oP5x2het1P+YOEYLROoZH5HBLbrOaHHkYUIegUf+3DECLTmofjTm vDhPeKOKJGSqWP4eFy62wGLnYb83MDjL6tF/nz/B1+biZtqjgH4fXqlRcBhCfvsez/yG u2jA5OZ3zWzsK/lBnYVoSuzY3a0VYxafICnPUhp5ENMLhLDvi1+n5qlnFM+bj3zauhyv Mi01fHlxPyTgzPTCLqcoAXok+JP/bn3NWFmlDNX3ZL4UCPZxN627Oh8OBLP57AlD6el1 E8BQ== 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=E/Sa5TlFlqVsLlc8EZ75aSLJitlZukV7o9bGnWCQErM=; b=AdZg1PAfZqgdrvOBa5hTMAY991qeYZidZALfI9+UbViQEJPpM8u5SzRJ6k4sptkGuW ccZcGYriEK9026qXdNVwbFFTX+LePmFBA8FYY88H4wD32fX85yCRUkOVtwg+P/CZNgLb NZf6BxMen5WNaki4K9gFzipNA+JZg41NTyLCrFKnhH4vBZ+fmEMtOmc2sc1uuVQfs9oS slo8WkXGQSFxPPJlE8CYSYC7bQFHIuQwbx2ffKMN3INabe8MOHtCIRcH/RCX+iep5Jvw HJzbbeIOMOKXvqV6dyAN7CMmS6gT1fdadLzJZfzwdPBkSMLOWGqoYMx90gJgRyHYNUT9 zvjQ== X-Gm-Message-State: AOAM530MCWbky6rsBKMOPEmMpCGEc17dUMNNTn1QUVUPOcDhHEuCX8p1 t+haiL8tJ1yGEzk1/iucgyE= X-Google-Smtp-Source: ABdhPJw5ojgf64EOmycGydwFOQYYZigYhOgRyof1CUHbJ9q9H06YgkmxCYDYIVNlsz95wN7RqZr/qw== X-Received: by 2002:a7b:c242:: with SMTP id b2mr24388313wmj.119.1615765626547; Sun, 14 Mar 2021 16:47:06 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sarah Harris , Michael Rolnik , Lichang Zhao , David Edmondson Subject: [PULL 3/4] target/avr: Fix some comment spelling errors Date: Mon, 15 Mar 2021 00:46:48 +0100 Message-Id: <20210314234649.2614590-4-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210314234649.2614590-1-f4bug@amsat.org> References: <20210314234649.2614590-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) From: Lichang Zhao I found that there are many spelling errors in the comments of qemu/target/= avr. I used spellcheck to check the spelling errors and found some errors in the= folder. Signed-off-by: Lichang Zhao Reviewed-by: David Edmondson Reviewed-by: Philippe Mathieu-Daude Message-Id: <20201009064449.2336-12-zhaolichang@huawei.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Rolnik --- target/avr/helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/avr/helper.c b/target/avr/helper.c index 65880b9928c..b4532de2523 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -98,7 +98,7 @@ int avr_cpu_memory_rw_debug(CPUState *cs, vaddr addr, uin= t8_t *buf, =20 hwaddr avr_cpu_get_phys_page_debug(CPUState *cs, vaddr addr) { - return addr; /* I assume 1:1 address correspondance */ + return addr; /* I assume 1:1 address correspondence */ } =20 bool avr_cpu_tlb_fill(CPUState *cs, vaddr address, int size, @@ -299,7 +299,7 @@ void helper_outb(CPUAVRState *env, uint32_t port, uint3= 2_t data) } =20 /* - * this function implements LD instruction when there is a posibility to = read + * this function implements LD instruction when there is a possibility to= read * from a CPU register */ target_ulong helper_fullrd(CPUAVRState *env, uint32_t addr) @@ -323,7 +323,7 @@ target_ulong helper_fullrd(CPUAVRState *env, uint32_t a= ddr) } =20 /* - * this function implements ST instruction when there is a posibility to = write + * this function implements ST instruction when there is a possibility to= write * into a CPU register */ void helper_fullwr(CPUAVRState *env, uint32_t data, uint32_t addr) --=20 2.26.2 From nobody Fri May 17 15:06:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.50 as permitted sender) client-ip=209.85.221.50; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f50.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.50 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1615765633; cv=none; d=zohomail.com; s=zohoarc; b=IOXhj+hJ1rhnydR/qTxAwOJBL2VmiKRMR1SmkIBj4w/a/YJRBOh0u+a+Wv2ASc44I4n5afPYxl43AsOsNy4VQyQckCt7XQ/zaQvASfjyO9z6wX2kFXQH0S26UHwnPfSn+BbBCgAaciRWQ8MyCz1lFFSTi1Rj95J8Lml2ljPDYYQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615765633; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=9Pqxi10fbsg2XrttAg2CR3o2aw4WFlVph75B1Jn7x08=; b=FUm5hmRwsYGLpaoVmNujVQU09WCBUkG7lxRM/iPVqXfF/YEGHkj33KY47EuRWstn807F1qWFirbej3UcSpg0gcLpteTg1jEhm9gVIQkHtz3Z+kSK86Y0xTBO3wjVw/8GeoTCHfJdYJrE3hXgLmGEisAa0haQdS5uv4aVx0R2DOI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.50 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.zohomail.com with SMTPS id 1615765633063931.5468095593819; Sun, 14 Mar 2021 16:47:13 -0700 (PDT) Received: by mail-wr1-f50.google.com with SMTP id j2so7786277wrx.9 for ; Sun, 14 Mar 2021 16:47:12 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (17.red-88-21-201.staticip.rima-tde.net. [88.21.201.17]) by smtp.gmail.com with ESMTPSA id n66sm10394355wmn.25.2021.03.14.16.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Mar 2021 16:47:11 -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=9Pqxi10fbsg2XrttAg2CR3o2aw4WFlVph75B1Jn7x08=; b=MYGxtPZbq/OjZ+eGF45mW6dpq9FkCAZG2+941WA3g+w2KU8i5/AP5Iwt+tn/4obqxs EYb6R4yfAqXBMlSeBtjBNfyJQuQoxlFFAV0crGVVtNkoUxHd1Jtkbs1pLnWu4wbwrx+v q/pU+g7ZyfA6YudXt+K7MtKLs3r1yE4q55BgiMYt92pcJ144RJJO+2UqOT7U9S8wMF/G fQsZnDZn75+98/6zozeGLCt/FcshIeHQbMqZICnVbRIuo/KLyWJyQf+xd1JG3kQbeEJk gzVIIF0p3rT4bN4x1uDC04srBRx/oi1RLXn5yzrCMb887B2tlYoVR6jFrTQGZs5gxALI 1RrA== 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=9Pqxi10fbsg2XrttAg2CR3o2aw4WFlVph75B1Jn7x08=; b=MB/u1dvblGH0Q3zaTk7PRshmuLoXyLL4sr/HIt37VG4xeJsWw7qOL7jdTzceiks2qR HuXECFWh/EI4Akaw6IsqdwuLOf4xIdeJzK01YbkSLfap/hEKXZWi9fSsZaHekO4Tr4G9 cMGjeeOucGqYV2m/XUlXUEj3bJbIz5tYT45lVHqOcgZDWhX+f05RJVlXanj1lcrjE48T Ts82QIYFIAHqJsEHjIu/bBM89uNMa5Fuz2ItdsmaVkcHLzFWxyRomMwDA23sBOaw1c9t 3G04V2RXriJIOHk8iYV+Rxwn/PhTDm0Tk12cGj/TfOZzUNVCWIakNp+vYJHHk83RknnC SdHw== X-Gm-Message-State: AOAM5331ePIK9BKjH9/eju9DB2PJ1AQoHkcCww4BuoBI9544EN42rlS2 gTSczKsjcnNskGcd0Ar9lgM= X-Google-Smtp-Source: ABdhPJxScGfCQR+LpJThf4sPB3cay+D0xIwRn8ovxCnvdu+GwQe/X6qnlUatmVdp0HMmK0IOaBvbkA== X-Received: by 2002:adf:9544:: with SMTP id 62mr943783wrs.128.1615765631436; Sun, 14 Mar 2021 16:47:11 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sarah Harris , Michael Rolnik , Ivanov Arkasha Subject: [PULL 4/4] target/avr: Fix interrupt execution Date: Mon, 15 Mar 2021 00:46:49 +0100 Message-Id: <20210314234649.2614590-5-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210314234649.2614590-1-f4bug@amsat.org> References: <20210314234649.2614590-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) From: Ivanov Arkasha Only one interrupt is in progress at the moment. It is only necessary to set to reset interrupt_request after all interrupts have been executed. Signed-off-by: Ivanov Arkasha Message-Id: <20210312164754.18437-1-arkaisp2021@gmail.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Rolnik --- target/avr/helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/avr/helper.c b/target/avr/helper.c index b4532de2523..35e10195940 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -49,7 +49,9 @@ bool avr_cpu_exec_interrupt(CPUState *cs, int interrupt_r= equest) cc->tcg_ops->do_interrupt(cs); =20 env->intsrc &=3D env->intsrc - 1; /* clear the interrupt */ - cs->interrupt_request &=3D ~CPU_INTERRUPT_HARD; + if (!env->intsrc) { + cs->interrupt_request &=3D ~CPU_INTERRUPT_HARD; + } =20 ret =3D true; } --=20 2.26.2