summaryrefslogtreecommitdiffhomepage
path: root/src/neboot-cpu-api.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-12 14:51:30 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-12 14:51:30 +0100
commit04abfb60bc52b7b4235202e0c409821cc63c585a (patch)
tree90a2fe910d10e4f550e423c6002935fefeab538f /src/neboot-cpu-api.c
parent4243516705e4a18cbab62a94975a0d992b21a51e (diff)
feat: Update 30-PIN specs and implementation. Breaking API changes in
NeBoot as well. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/neboot-cpu-api.c')
-rw-r--r--src/neboot-cpu-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neboot-cpu-api.c b/src/neboot-cpu-api.c
index 3746163..a3209aa 100644
--- a/src/neboot-cpu-api.c
+++ b/src/neboot-cpu-api.c
@@ -7,7 +7,7 @@
/// @brief Restarts the computer.
/// @param none.
-void cb_restart_machine(void) {
+void nb_restart_machine(void) {
#ifdef __COMPILE_RISCV__
volatile uint32_t* brd_pwr = (volatile uint32_t*) 0x100000;
*brd_pwr = 0x7777; // send reboot signal from DMA.