diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-10-11 23:18:47 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-10-11 23:18:47 +0300 |
| commit | 7237d673904d8568a2f9c290a0247c9d1a07c5d2 (patch) | |
| tree | 7deabe2dc64ddf05016eb3e3a4f22a7e252b5c35 /arch/riscv/kernel | |
| parent | ebd34a9ab3809167e16e4107c8e72d1d81faff9c (diff) | |
| download | kmi-7237d673904d8568a2f9c290a0247c9d1a07c5d2.tar.gz kmi-7237d673904d8568a2f9c290a0247c9d1a07c5d2.zip | |
Start designing vmem framework
Diffstat (limited to 'arch/riscv/kernel')
| -rw-r--r-- | arch/riscv/kernel/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/riscv/kernel/main.c b/arch/riscv/kernel/main.c index 5566d63..c8eca26 100644 --- a/arch/riscv/kernel/main.c +++ b/arch/riscv/kernel/main.c @@ -1,5 +1,6 @@ #include <apos/debug.h> #include <apos/init.h> +#include <apos/vmem.h> void __main main(struct init_data_t d) { @@ -14,6 +15,7 @@ void __main main(struct init_data_t d) /* functionality that should be implemented: * figure out best continuous run of memory (pmap etc) - * arbitrary mapping and kernel mapping (memory) + * arbitrary user and kernel mapping (memory) + * vm to pm */ } |
