Files
MentOS/mentos/inc/system/panic.h
T
Enrico Fraccaroli (Galfurian) 1b2bc49d41 Update license and remove unused files.
2022-01-27 15:12:36 -05:00

13 lines
420 B
C

/// @file panic.h
/// @brief Functions used to manage kernel panic.
/// @copyright (c) 2014-2022 This file is distributed under the MIT License.
/// See LICENSE.md for details.
#pragma once
/// @brief Prints the given message and then safely stop the execution of
/// the kernel.
/// @param msg The message that has to be shown.
void kernel_panic(const char *msg);
#define TODO(msg) kernel_panic(#msg);