aboutsummaryrefslogtreecommitdiff
path: root/include/apos/init.h
blob: 05e24bac6bca19be760e2354ae26440e511982c3 (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
25
26
27
28
#ifndef APOS_INIT_H
#define APOS_INIT_H

#include <apos/pmem.h>

struct init_data_t {
	pm_t init_base;
	pm_t init_top;

	pm_t initrd_base;
	pm_t initrd_top;

	pm_t fdt_base;
	pm_t fdt_top;

	pm_t stack_base;
	pm_t stack_top;

	struct vm_branch_t *kernel_vm_base;

	/*
	   TODO: is this necessary?
	   pm_t pmap_base;
	   pm_t pmap_top;
	*/
};

#endif /* APOS_INIT_H */