Kernelite 0.1.0
Kernelite is a minimalist, educational operating system kernel built from scratch. The project aims to recreate core components of the Linux architecture to explore the fundamentals of operating system design and hardware-software interaction.
Loading...
Searching...
No Matches
error_strings.h
Go to the documentation of this file.
1
12#ifndef ERROR_STRINGS_H
13#define ERROR_STRINGS_H
14
15#include "error_codes.h"
16
25#define STRING_MAP \
26 X(ERROR_CODE_SUCCESS, "SUCCESS") \
27 X(ERROR_CODE_NOT_EL1, "CPU not in EL1")
28
45const char *error_to_string(long code);
46
47#endif /* ERROR_STRINGS_H */
Kernel-wide error definitions and diagnostic utilities.
const char * error_to_string(long code)
Converts a numeric error code into a human-readable string.
Definition error_strings.c:14