blob: 5566d631d8ba46e1c73ab7cf99a6893bed2f4f90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#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 (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)
*/
}
|