[PATCH v4 0/2] NOEL-V BSP

Daniel Cederman cederman at gaisler.com
Mon Aug 15 07:16:22 UTC 2022


v4
Changed .data to .bsp_start_data
Moved assembly defines to asm.h
Use the common optextirqmax
Use optconsoleirq instead of optconirq
Declared riscv_start_stack_pointer as const

Martin Aberg (2):
  bsp/riscv: Work area size based on stack pointer
  bsp/riscv: Add NOEL-V BSP

 bsps/riscv/include/bsp/start.h                |  67 ++++++
 bsps/riscv/noel/console/console-config.c      | 209 ++++++++++++++++++
 bsps/riscv/noel/include/bsp.h                 |  76 +++++++
 bsps/riscv/noel/include/bsp/irq.h             |  75 +++++++
 bsps/riscv/noel/include/tm27.h                |   1 +
 bsps/riscv/noel/start/bsp_fatal_halt.c        |  46 ++++
 bsps/riscv/riscv/include/bsp.h                |   2 +
 bsps/riscv/riscv/include/bsp/irq.h            |   2 +
 .../shared/start/bspgetworkarea-fromstack.c   |  76 +++++++
 bsps/riscv/shared/start/start.S               |  15 ++
 cpukit/score/cpu/riscv/include/rtems/asm.h    |  12 +
 spec/build/bsps/riscv/noel/abi.yml            |  48 ++++
 spec/build/bsps/riscv/noel/bspnoel32im.yml    |  19 ++
 spec/build/bsps/riscv/noel/bspnoel32imafd.yml |  19 ++
 spec/build/bsps/riscv/noel/bspnoel64imac.yml  |  19 ++
 spec/build/bsps/riscv/noel/bspnoel64imafd.yml |  19 ++
 .../build/bsps/riscv/noel/bspnoel64imafdc.yml |  19 ++
 spec/build/bsps/riscv/noel/grp.yml            |  59 +++++
 spec/build/bsps/riscv/noel/obj.yml            |  38 ++++
 spec/build/bsps/riscv/noel/objsmp.yml         |  15 ++
 spec/build/bsps/riscv/optrambegin.yml         |   3 +
 spec/build/cpukit/optarchbits.yml             |   2 +
 spec/build/cpukit/optsmp.yml                  |   4 +
 23 files changed, 845 insertions(+)
 create mode 100644 bsps/riscv/include/bsp/start.h
 create mode 100644 bsps/riscv/noel/console/console-config.c
 create mode 100644 bsps/riscv/noel/include/bsp.h
 create mode 100644 bsps/riscv/noel/include/bsp/irq.h
 create mode 100644 bsps/riscv/noel/include/tm27.h
 create mode 100644 bsps/riscv/noel/start/bsp_fatal_halt.c
 create mode 100644 bsps/riscv/shared/start/bspgetworkarea-fromstack.c
 create mode 100644 spec/build/bsps/riscv/noel/abi.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel32im.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel32imafd.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imac.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imafd.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imafdc.yml
 create mode 100644 spec/build/bsps/riscv/noel/grp.yml
 create mode 100644 spec/build/bsps/riscv/noel/obj.yml
 create mode 100644 spec/build/bsps/riscv/noel/objsmp.yml

-- 
2.34.1



More information about the devel mailing list