PMM -- Convert between virtual and physical address

This commit is contained in:
2017-12-21 16:17:55 +01:00
parent 1daf8ed47b
commit 82fbafc38e
2 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
// vim: ft=c
#include <ttest.h>
#include <memory.h>
#undef P2V
#define P2V(addr) (void *)((uintptr_t)(addr))
#undef V2P
#define V2P(addr) (void *)((uintptr_t)(addr))
#include "pmm.c"
struct {