Gedare Bloom started a new discussion on bsps/riscv/esp32/irq/irq_c3.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147629

 > +  size_t map_count = RTEMS_ARRAY_SIZE( irq_mappings );
 > +
 > +  for ( size_t i = 0; i < map_count; i++ ) {
 > +    if ( irq_mappings[i].peripheral_int == vector ) {
 > +      return irq_mappings[i].cpu_int;
 > +    }
 > +  }
 > +
 > +  return 0;
 > +}
 > +
 > +static rtems_vector_number get_active_interrupt( uint8_t cpu_vector )
 > +{
 > +  uint64_t total_set = get_int_status();
 > +
 > +  for ( uint32_t i = 0; i < sizeof( uint64_t ) * 8; i++ ) {

should it be `rtems_vector_number i` for better type?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147629
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to