x86_64: implement bootstrap function for pmap interface

This commit is contained in:
2023-02-06 20:50:28 +00:00
parent 52b3a5d6a5
commit 625eac9ca7
8 changed files with 423 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
#include "socks/types.h"
#include <socks/pmap.h>
#include <socks/types.h>
#include <arch/e820.h>
#include <socks/init.h>
#include <socks/memblock.h>
@@ -47,5 +48,7 @@ int ml_init(uintptr_t arg)
e820_scan(PTR32(mb->mmap_addr), mb->mmap_length);
pmap_bootstrap();
return 0;
}