On 11/22/2011 06:32 PM, Benoît Canet wrote:
>  
> -static CPUReadMemoryFunc * const sys_read_fn[] = {
> -    NULL,
> -    NULL,
> -    NULL,
> -};
> -
> -static CPUWriteMemoryFunc * const sys_write_fn[] = {
> -    NULL,
> -    NULL,
> -    &sys_write,
> +static const MemoryRegionOps sys_ops = {
> +    .old_mmio = {
> +        .read = { NULL, NULL, NULL, },
> +        .write = { NULL, NULL, sys_write, },
> +    },
> +    .endianness = DEVICE_NATIVE_ENDIAN,
>  };

Please use .valid.accepts for cases like this.

-- 
error compiling committee.c: too many arguments to function


Reply via email to