Re: [PATCH 3/5] hw/intc/armv7m_nvic: Only show ID register values for Main Extension CPUs

2020-09-11 Thread Richard Henderson
On 9/10/20 10:38 AM, Peter Maydell wrote: > M-profile CPUs only implement the ID registers as guest-visible if > the CPU implements the Main Extension (all our current CPUs except > the Cortex-M0 do). > > Currently we handle this by having the Cortex-M0 leave the ID > register values in the

[PATCH 3/5] hw/intc/armv7m_nvic: Only show ID register values for Main Extension CPUs

2020-09-10 Thread Peter Maydell
M-profile CPUs only implement the ID registers as guest-visible if the CPU implements the Main Extension (all our current CPUs except the Cortex-M0 do). Currently we handle this by having the Cortex-M0 leave the ID register values in the ARMCPU struct as zero, but this conflicts with our design