mmu: identify VA and PA in mmu.c

- read/write page table entries should use VA which defined as "void *"
- the address data in page table entries should us PA which defined as
  "uint64_t"

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Jason Chen CJ
2018-04-03 21:58:32 +08:00
committed by Jack Ren
parent e078ce7aae
commit 8682552273
2 changed files with 16 additions and 16 deletions

View File

@@ -255,7 +255,7 @@ struct map_params {
struct entry_params {
uint32_t entry_level;
uint32_t entry_present;
uint64_t entry_base;
void *entry_base;
uint64_t entry_off;
uint64_t entry_val;
uint64_t page_size;