summaryrefslogtreecommitdiffhomepage
path: root/src/neboot-cpu-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/neboot-cpu-api.c')
-rw-r--r--src/neboot-cpu-api.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/neboot-cpu-api.c b/src/neboot-cpu-api.c
index 662e6e9..3746163 100644
--- a/src/neboot-cpu-api.c
+++ b/src/neboot-cpu-api.c
@@ -1,10 +1,9 @@
-/* -------------------------------------------
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Distributed under the Apache Software License, Version 2.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/neboot
- Copyright (C) 2024, Amlal El Mahrouss, licensed under Apache 2.0.
-
-------------------------------------------- */
-
-#include <lib/boot.h>
+#include <include/boot.h>
/// @brief Restarts the computer.
/// @param none.
@@ -18,7 +17,6 @@ void cb_restart_machine(void) {
}
#else
/// @todo add your reset vector here.
- while (1)
- ;
+ while (1);
#endif
}