[PATCH next 0/3] RISC-V: resurrect nmon

Antony Pavlov antonynpavlov at gmail.com
Thu Jul 8 01:30:32 PDT 2021


After migrating to PBL we can't use nmon assembler macro
in C code anymore. This series adds necessary wrapper
for invoking nmon from PBL C code.

Antony Pavlov (3):
  RISC-V: make it possible to run nmon from PBL C code
  RISC-V: boards: erizo: make it possible to use nmon
  RISC-V: boards: beaglev: make it possible to use nmon

 arch/riscv/Kconfig.socs              |  1 +
 arch/riscv/boards/beaglev/lowlevel.c |  2 ++
 arch/riscv/boards/erizo/lowlevel.c   |  2 ++
 arch/riscv/boot/Makefile             |  1 +
 arch/riscv/boot/nmon_entry.S         | 13 ++++++++
 arch/riscv/include/asm/riscv_nmon.h  | 49 ++++++++++++++++++----------
 6 files changed, 51 insertions(+), 17 deletions(-)
 create mode 100644 arch/riscv/boot/nmon_entry.S

-- 
2.32.0




More information about the barebox mailing list