From 091463c1057f50b47156a138d7d1dbd09494a6d5 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 11 Oct 2021 13:58:11 +0300 Subject: Moved some functions to common/ --- arch/riscv/kernel/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'arch/riscv/kernel') diff --git a/arch/riscv/kernel/main.c b/arch/riscv/kernel/main.c index 3575ceb..5566d63 100644 --- a/arch/riscv/kernel/main.c +++ b/arch/riscv/kernel/main.c @@ -4,11 +4,16 @@ void __main main(struct init_data_t d) { /* TODO: approximate order of business: - * setup debugging in vmem + * setup debugging in vmem (requires mapping fdt) * 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) */ + + /* functionality that should be implemented: + * figure out best continuous run of memory (pmap etc) + * arbitrary mapping and kernel mapping (memory) + */ } -- cgit v1.3