NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Git from Qemu



On Sun, Feb 5, 2012 at 4:21 PM, Maurizio Caloro <mauric%gmx.ch@localhost> wrote:
>
> Hello
> Please for any help i'am happy
> Qemu - git clone git://git.qemu.org/qemu.git
>
> bash-4.2# gmake
>  CC    i386-softmmu/memory.o
> /usr/source/qemu/memory.c: In function 'memory_region_read_accessor':
> /usr/source/qemu/memory.c:259: error: 'MemoryRegionOps' has no member
> named '__read_alias'
> /usr/source/qemu/memory.c:404:62: error: macro "read" requires 3
> arguments, but only 2 given
> /usr/source/qemu/memory.c: In function 'memory_region_iorange_read':
> /usr/source/qemu/memory.c:404: warning: assignment makes integer from
> pointer without a cast
> /usr/source/qemu/memory.c:408:62: error: macro "read" requires 3
> arguments, but only 2 given
> /usr/source/qemu/memory.c:409:67: error: macro "read" requires 3
> arguments, but only 2 given
> /usr/source/qemu/memory.c:409: error: invalid operands to binary <<
> gmake[1]: *** [memory.o] Error 1
> gmake: *** [subdir-i386-softmmu] Error 2
>
> Snip "MemoryRegionOps"
>>static void memory_region_read_accessor(void *opaque,
>>                                        target_phys_addr_t addr,
>>                                        uint64_t *value,
>>                                        unsigned size,
>>                                        unsigned shift,
>>                                        uint64_t mask)
>>{
>>    MemoryRegion *mr = opaque;
>>    uint64_t tmp;
>>
> Line259, >    tmp = mr->ops->read(mr->opaque, addr, size);
>>    *value |= (tmp & mask) << shift;
>>}
>
> Thanks Mauri
>

Have you tried porting the pkgsrc patches/build to this version?


Home | Main Index | Thread Index | Old Index