public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Joel Sherrill <joel.sherrill@oarcorp.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: lm32 simulator configuration file question
Date: Sun, 05 Apr 2015 01:20:00 -0000	[thread overview]
Message-ID: <20150405011520.GA16816@vapier> (raw)
In-Reply-To: <55208159.4090504@oarcorp.com>

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

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 
global state (it's all attached to the instance via HW_ZALLOC (me, ...), and all 
accesses go through the passed in "me" hw).

why do you think it only lets you instantiate it once ?
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-04-05  1:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-02 22:19 Joel Sherrill
2015-04-03  1:41 ` Mike Frysinger
2015-04-03 20:21   ` Joel Sherrill
2015-04-03 23:21     ` Mike Frysinger
2015-04-04  0:00       ` Joel Sherrill
2015-04-04  2:57         ` Mike Frysinger
2015-04-04 13:49           ` Joel Sherrill
2015-04-04 21:08             ` Mike Frysinger
2015-04-05  0:27               ` Joel Sherrill
2015-04-05  1:20                 ` Mike Frysinger [this message]
2015-04-05  1:32                   ` Joel Sherrill
2015-04-05  2:05                     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150405011520.GA16816@vapier \
    --to=vapier@gentoo.org \
    --cc=gdb@sourceware.org \
    --cc=joel.sherrill@oarcorp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).