On Mon, Jan 17, 2011 at 11:43 AM, Fabien Chouteau <chout...@adacore.com> wrote: > On 01/04/2011 07:46 PM, Blue Swirl wrote: >> >> On Mon, Jan 3, 2011 at 2:07 PM, Fabien Chouteau<chout...@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
Sorry, I was confused. This part is OK (except for the spacing).