aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/main.c
blob: 3575ceb1a9faa43562f171f8c46878d7ee1cd372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <apos/debug.h>
#include <apos/init.h>

void __main main(struct init_data_t d)
{
	/* TODO: approximate order of business:
	 * setup debugging in vmem
	 * free unnecessary init
	 * setup interrupts (should this be done in init?)
	 * load init from initrd
	 * setup init environment (thread control blocks etc.)
	 * jumpstart init (free stack init setup)
	 */
}