« Previous | Next » 

Revision 83e6813a

ID83e6813a93e38976391b8c382c3375e3e188df3e

Added by Peter Maydell over 10 years ago

target-arm: Switch ARMCPUInfo arrays to use terminator entries

Switch the ARMCPUInfo arrays in cpu.c and cpu64.c to use a terminator
entry rather than looping based on ARRAY_SIZE. The latter causes
compile warnings on some versions of gcc if the configure options
happen to result in an empty array.

Signed-off-by: Peter Maydell <>
Reviewed-by: Edgar E. Iglesias <>
Tested-by: Edgar E. Iglesias <>
Signed-off-by: Edgar E. Iglesias <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences