blob: 6ade80acf8e11e73a4f0cffa21cd66cfa8bfa8bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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
#include <include/boot.h>
/// BUGS: 0
/// @brief Goes into a panic state.
/// @param reason why?
void nb_panic(const char* reason) {
nb_put_string("Error: ");
nb_put_string(reason);
nb_put_char('\n');
while (yes) {
(void) 0;
}
}
|