aboutsummaryrefslogtreecommitdiff
path: root/kernel.c
blob: 84d55870b540dbb3436a8970c897888454ffd8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Complain if some pleb's not using a cross-compiler
#ifdef __linux__
	#error "You're not using a cross-compiler. Good luck with that."
#endif

#include <toast.h>

void kernel_main()
{
	console_init();
	console_set_colors(COLOR_BRIGHT_GRAY,COLOR_BLACK);
	console_clear();
	console_print("Welcome to Toast "KERNEL_VERSION" (nickname '"KERNEL_NICKNAME"')\n");
	console_set_color(COLOR_RED);
	console_print("Here is kernel_main()\n");
}