aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/config.h
blob: fa6785ef8203a03176b22764de5cd1b481273cf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <apos/sizes.h>

/* --- START ARCH USER CONFIG VALUES --- */
/* physical address to which the kernel will be loaded */
#define RAM_BASE	0x80000000
#define PM_KERN		(RAM_BASE + SZ_512K)
/* --- END ARCH USER CONFIG VALUES --- */

/* don't touch >:( */

#define PM_STACK_BASE	(PM_KERN)
#define PM_STACK_TOP	(RAM_BASE + SZ_1M)
#define VM_DMAP		(0xffffffc000000000) /* testing for now */
#define VM_KERN		(VM_DMAP + SZ_256K)
#define TMP_PTE		(-SZ_2G)
#define ROOT_PTE	(0)
#define ROOT_REGION	(SZ_4K)