Skip to content

Commit

Permalink
ECPT deduplication and CWT/CWC rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuanchai1999 committed Jan 24, 2024
2 parents d1b2ae0 + e975927 commit 09beb36
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions target/i386/tcg/sysemu/excp_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,15 @@ static int mmu_translate(CPUState *cs, hwaddr addr, MMUTranslateFunc get_hphys_f
}
}

// TODO: change this to the corresponding ECTP version
// schai. I believe this can reuse the mmu_translate_ECPT function
static unsigned long mmu_translate_pgtables(CPUState *cs, hwaddr addr, MMUTranslateFunc get_hphys_func,
uint64_t cr3,int mmu_idx, int pg_mode,
unsigned long *pgd, unsigned long *pud, unsigned long *pmd,
unsigned long *pte_table, unsigned int *size, unsigned long *entry) {
return 0;
}

#else

#define RADIX_LEVEL 4
Expand Down

0 comments on commit 09beb36

Please sign in to comment.