Re: Qemu-4.2.0

2021-07-06 Thread abhijeet inamdar
In addition to this in armv7m.c warning: no previous prototype for 'armv7m_init'[-Wmissing-prototypes] DeviceState *armv7m_init(Memory region *system_memory, int mem_size, int num_irq, Thanks, Abhijeet. On Tue, Jul 6, 2021, 17:14 abhijeet inamdar wrote: > The warnings are as follows: > >

Re: Qemu-4.2.0

2021-07-06 Thread Peter Maydell
On Tue, 6 Jul 2021 at 16:14, abhijeet inamdar wrote: > > The warnings are as follows: > > warning: implicit declaration of function 'armv7m_init' > [-Wimplicit-function-declaration] > nvic = armv7m_init(systemMemory, memsz, NUM_IRQ_LINES, kernel_filename, > cpu_type); This function was removed

Re: Qemu-4.2.0

2021-07-06 Thread abhijeet inamdar
The warnings are as follows: warning: implicit declaration of function 'armv7m_init' [-Wimplicit-function-declaration] nvic = armv7m_init(systemMemory, memsz, NUM_IRQ_LINES, kernel_filename, cpu_type); warning: implicit declaration of function 'qemu_allocate_irq'

Re: Qemu-4.2.0

2021-07-06 Thread Peter Maydell
On Tue, 6 Jul 2021 at 15:48, abhijeet inamdar wrote: > > Hi, > > I am trying to build custom machine in QEMU-4.2.0. > > I'm getting some warning regarding armv7m_init() saying implicit declaration > but I have defined it in the armv7m.c, even same kind of warning for the > qemu_allocate_irq().

Re: Qemu-4.2.0

2021-07-06 Thread abhijeet inamdar
Hi, I am trying to build custom machine in QEMU-4.2.0. I'm getting some warning regarding armv7m_init() saying implicit declaration but I have defined it in the armv7m.c, even same kind of warning for the qemu_allocate_irq(). I not able to find the right "commit" for both functions are they