add generic kremap for kernel remapping
[lunaix-os.git] / lunaix-os / arch / x86 / boot / kpt_setup.c
1 #define __BOOT_CODE__
2
3 #include <lunaix/mm/pagetable.h>
4 #include <lunaix/compiler.h>
5
6 #include <asm/boot_stage.h>
7 #include <asm/mm_defs.h>
8
9
10 ptr_t boot_text
11 kpg_init()
12 {
13     return remap_kernel();
14 }