summaryrefslogtreecommitdiffhomepage
path: root/src/loader/main.c
blob: 53bf53e672807fdca8226de26ccb1a341e8757d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// MIT License, Copyright (c) 2021 Marvin Borner

#include <def.h>
#include <ide.h>
#include <log.h>

/**
 * Entry
 */

int start(void);
int start(void)
{
	vga_clear();
	serial_install();

	log("Log initiated\n");

	ata_install();

	while (1)
		;
	return 0;
}