[PATCH 0/4] Reduce copy and paste in the SPARC port

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 5 15:09:00 UTC 2020


This patch set just removes a bit of copy and paste in the SPARC port.

Sebastian Huber (4):
  sparc: Move SPARC-specific macros to sparc.h
  sparc: Add SPARC_IS_INTERRUPT_TRAP()
  sparc: Add SPARC_INTERRUPT_TRAP_TO_SOURCE()
  sparc: Add SPARC_INTERRUPT_SOURCE_TO_TRAP()

 bsps/sparc/erc32/include/erc32.h              |  8 +--
 bsps/sparc/erc32/start/setvec.c               |  9 +--
 bsps/sparc/leon2/include/leon.h               |  8 +--
 bsps/sparc/leon2/start/setvec.c               |  9 +--
 bsps/sparc/leon3/include/leon.h               |  8 +--
 bsps/sparc/leon3/start/setvec.c               |  9 +--
 .../score/cpu/sparc/include/rtems/score/cpu.h | 21 ------
 .../cpu/sparc/include/rtems/score/sparc.h     | 69 ++++++++++++++++++-
 8 files changed, 86 insertions(+), 55 deletions(-)

-- 
2.26.2



More information about the devel mailing list