incubator-nuttx/arch
Ville Juven cf95305934 mpfs/mpfs_plic: Add procedure to initialize per hart PLIC state
MPFS implements external interrupt control on a per-hart basis i.e. there
are PLIC control registers for each hart separately. This means we need
a procedure to initialize such registers for each hart individually,
instead of only for the boot hart like it is now.

Fix this by implementing mpfs_plic_init_hart which can be called by each
hart as needed.

Note: it is not a good idea to initialize all harts from the boot hart,
as the boot hart may not know which harts are used by NuttX in AMP
configuration. It is better that the hart initializes itself.

Note: The hartid must be provided as explicit parameter, as it cannot
be queried via riscv_mhartid() yet; the per-cpu structure is initialized
later on which means riscv_mhartid() would return 0 for all harts except
the boot hart.
2024-10-18 19:34:57 +08:00
..
arm bluetooth: Fix the incompatibility made by https://github.com/apache/nuttx/pull/14224 2024-10-18 09:05:54 +08:00
arm64 arch/arm64: Remove arm64_copystate.c 2024-10-17 18:07:54 +08:00
avr tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
ceva tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
dummy
hc tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
mips tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
misoc tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
or1k tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
renesas tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
risc-v mpfs/mpfs_plic: Add procedure to initialize per hart PLIC state 2024-10-18 19:34:57 +08:00
sim bluetooth: Fix the incompatibility made by https://github.com/apache/nuttx/pull/14224 2024-10-18 09:05:54 +08:00
sparc tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
tricore syslog: convert \n to \r\n in syslog framework layer 2024-10-17 02:29:51 +08:00
x86 tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
x86_64 tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
xtensa bluetooth: Fix the incompatibility made by https://github.com/apache/nuttx/pull/14224 2024-10-18 09:05:54 +08:00
z16 tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
z80 tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
CMakeLists.txt greenhills: fix the arch_interface archive error 2024-09-27 23:39:56 +08:00
Kconfig arch/arm: add support for chip to replace the default vector table 2024-10-17 22:57:14 +08:00