summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64/ppc64-err.c
blob: 55f9b5dc588af8c30f5c555c0606c39f2ea6b98b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* -------------------------------------------

    Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved.

------------------------------------------- */

#include <lib/boot.h>

/// BUGS: 0

/// @brief Goes into a panic state.
/// @param reason why?
void cb_panic(const char* reason)
{
	cb_put_string("Error: ");
	cb_put_string(reason);
	cb_put_char('\n');

	while (yes)
	{
		(void)0;
	}
}