« Previous | Next » 

Revision 926c4aff

ID926c4aff6ecf2b26b3508773196314a774bf5c4c

Added by Peter Maydell about 12 years ago

hw/arm_gic: Move gic_get_current_cpu into arm_gic.c

Move the gic_get_current_cpu() function into arm_gic.c.
There are only two implementations: (1) "get the index
of the currently executing CPU", used by all multicore
GICs, and (2) "always 0", used by all GICs instantiated
with a single CPU interface (the Realview board GIC and
the v7M NVIC). So we can move this into the main GIC
source file.

Signed-off-by: Peter Maydell <>
Reviewed-by: Evgeny Voevodin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences