From: Fabien Chouteau <chouteau@adacore.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 1/6] Emulation of GRLIB GPTimer as defined in GRLIB IP Core User's Manual.
Date: Mon, 17 Jan 2011 12:43:06 +0100 [thread overview]
Message-ID: <4D342B4A.5040900@adacore.com> (raw)
In-Reply-To: <AANLkTi=hwv4y0mOf9W_YOLo9=jXAOjOTpvVtZ1CMKQM7@mail.gmail.com>
On 01/04/2011 07:46 PM, Blue Swirl wrote:
> On Mon, Jan 3, 2011 at 2:07 PM, Fabien Chouteau<chouteau@adacore.com> wrote:+}
>> +static uint32_t grlib_gptimer_readl(void *opaque, target_phys_addr_t addr)
>> +{
>> + GPTimerUnit *unit = opaque;
>> + uint32_t value = 0;
>> +
>> + addr&= 0xff;
>
> Not needed.
>
When io-memory starts at 0x8000300 and its size is 48 bytes, Qemu gives me
address like this one (for example):
0x320
But only the last two bytes of the address are significant, that's why I use
this bit-mask.
Maybe I do not initialize io-memory in a proper way...
--
Fabien Chouteau
next prev parent reply other threads:[~2011-01-17 11:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-03 14:06 [Qemu-devel] [PATCH v2 0/6] [RFC] New SPARC machine: Leon3 Fabien Chouteau
2011-01-03 14:07 ` [Qemu-devel] [PATCH v2 1/6] Emulation of GRLIB GPTimer as defined in GRLIB IP Core User's Manual Fabien Chouteau
2011-01-04 18:46 ` Blue Swirl
2011-01-17 11:43 ` Fabien Chouteau [this message]
2011-01-17 19:45 ` Blue Swirl
2011-01-03 14:07 ` [Qemu-devel] [PATCH v2 2/6] Emulation of GRLIB IRQMP " Fabien Chouteau
2011-01-04 19:02 ` Blue Swirl
2011-01-03 14:07 ` [Qemu-devel] [PATCH v2 3/6] Emulation of GRLIB APB UART " Fabien Chouteau
2011-01-04 18:38 ` Blue Swirl
2011-01-03 14:07 ` [Qemu-devel] [PATCH v2 4/6] Header file for the GRLIB components Fabien Chouteau
2011-01-04 19:04 ` Blue Swirl
2011-01-03 14:07 ` [Qemu-devel] [PATCH v2 5/6] Emulation of Leon3 Fabien Chouteau
2011-01-04 18:56 ` Blue Swirl
2011-01-17 16:01 ` Fabien Chouteau
2011-01-17 19:55 ` Blue Swirl
2011-01-03 14:07 ` [Qemu-devel] [PATCH v2 6/6] SPARCV8 asr17 register support Fabien Chouteau
2011-01-04 18:31 ` Blue Swirl
2011-01-04 21:02 ` [Qemu-devel] [PATCH v2 0/6] [RFC] New SPARC machine: Leon3 Andreas Färber
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=4D342B4A.5040900@adacore.com \
--to=chouteau@adacore.com \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.