From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20278 invoked by alias); 5 Apr 2015 01:20:29 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 20266 invoked by uid 89); 5 Apr 2015 01:20:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 05 Apr 2015 01:20:26 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 62B9034091C; Sun, 5 Apr 2015 01:20:24 +0000 (UTC) Date: Sun, 05 Apr 2015 01:20:00 -0000 From: Mike Frysinger To: Joel Sherrill Cc: "gdb@sourceware.org" Subject: Re: lm32 simulator configuration file question Message-ID: <20150405011520.GA16816@vapier> Mail-Followup-To: Joel Sherrill , "gdb@sourceware.org" References: <551DC087.7040103@oarcorp.com> <20150403014149.GJ22171@vapier> <551EF633.9030309@oarcorp.com> <20150403232113.GO22171@vapier> <551F2996.10003@oarcorp.com> <20150404025706.GP22171@vapier> <551FEBE8.7080801@oarcorp.com> <20150404210848.GQ22171@vapier> <55208159.4090504@oarcorp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dTy3Mrz/UPE2dbVg" Content-Disposition: inline In-Reply-To: <55208159.4090504@oarcorp.com> X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00016.txt.bz2 --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 519 On 04 Apr 2015 19:27, Joel Sherrill wrote: > Once we get by this one, I noticed that the lm32timer only > lets you instance it once. The real board has two timers. > Is there an example of a device which can be instanced > multiple times? i glanced at the lm32timer device code and it looks correct to me -- there = is no=20 global state (it's all attached to the instance via HW_ZALLOC (me, ...), an= d all=20 accesses go through the passed in "me" hw). why do you think it only lets you instantiate it once ? -mike --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVII3YAAoJEEFjO5/oN/WB/l0QAJ3nCzOwsLfa1AKwwGemBWsg UzlV3ku8pDeKWm/OA0oRM4uM8IdUg/4FeEwckXZkWAzJqafYI9tzJz0aPQq04I5u gkKCxhgYE/ZsjllNxSBbVeuk/TJ2EoaojRb6FcanuB/199Rlyichn5e/ibHO5Qoq ta/5plEnRigWvXzzERT9sKn3WnF7jpyVFW2MYNXjmRmZ6mGaePohiswF6/gvmQWd OYAkNUUk5oZALCI/Fq02BhWvPswJWW0MT6QzxUdr7lYQohbbfACuIjr/L7GpBj3D xZ1KKWTrQwxszFj6lXPd+AmLBxYwImG2WRVOO/YTH+SCPpuF3pQaOCy5kYaCrfGr eTZJvQkAjJZ6AITEbTXGVrwB+b6fTDaOTt/i9LES6ObR6ujDomjMz0dRf1H694cR Asdpw9kGBt1H1cW7lawVlHRIggx54E+i3qzvxKUq6vPVDET0jEKghXPn9JxgWsc5 1SDbYbLSfiOAh7kGG2s3Zk0WgCVberaQznBiVpH2+lbz7lFzWnANMmGjtEKzTBWY 4Lwa6X0/z58DihKLtISfEDCCDzPBSWlWi4+iKjqt/sEzyxCXMpCpg2qo4aGmPYeg HfVYW7JIPDvwBKwT1pUg4YZJ3G63b6jFnDVxct7Y0JrJdflACWJHzxAVnWdxRVaH yB6oZmLmqpFC7zn7xlae =ixXx -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg--