[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v35 01/13] target/avr: Add outward facing interfaces and core
From: |
Michael Rolnik |
Subject: |
Re: [PATCH v35 01/13] target/avr: Add outward facing interfaces and core CPU logic |
Date: |
Sat, 23 Nov 2019 17:58:07 +0200 |
I believe I got this number from this spec
https://ww1.microchip.com/downloads/en/devicedoc/atmel-2549-8-bit-avr-microcontroller-atmega640-1280-1281-2560-2561_datasheet.pdf
on page 101
On Fri, Nov 22, 2019 at 7:28 PM Aleksandar Markovic
<address@hidden> wrote:
>
> > +#ifndef CONFIG_USER_ONLY
> > + /* Set the number of interrupts supported by the CPU. */
> > + qdev_init_gpio_in(DEVICE(cpu), avr_cpu_set_int, 57);
> > +#endif
>
> Can you please, Michael, explain to me the origin of number "57" here?
>
> Thanks, Aleksandar
--
Best Regards,
Michael Rolnik
- Re: [PATCH v35 01/13] target/avr: Add outward facing interfaces and core CPU logic, (continued)