Re: [Qemu-devel] [PATCH 1/7] hw/arm/nrf51_soc: nRF51 Calculate peripheral id from base address

2018-08-16 Thread Peter Maydell
On 11 August 2018 at 10:08, Steffen Görtz wrote: > The base address determines a peripherals id, which identifies its > interrupt line, see NRF51 reference manual section 10 peripheral > interface. This little gem calculates the peripheral id based > on its base address. > > Signed-off-by: Steffen

[Qemu-devel] [PATCH 1/7] hw/arm/nrf51_soc: nRF51 Calculate peripheral id from base address

2018-08-11 Thread Steffen Görtz
The base address determines a peripherals id, which identifies its interrupt line, see NRF51 reference manual section 10 peripheral interface. This little gem calculates the peripheral id based on its base address. Signed-off-by: Steffen Görtz --- hw/arm/nrf51_soc.c | 3 +++ 1 file changed, 3 in