mmu: Rename several variables related to page table type

rename 'PT_HOST' to 'PTT_HOST'
rename 'PT_EPT' to 'PTT_EPT'
rename 'ept_type' to 'table_type'

Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
Mingqiang Chi
2018-03-20 11:27:20 +08:00
committed by Jack Ren
parent 124910ba14
commit 2deb4cb458
4 changed files with 41 additions and 40 deletions

View File

@@ -259,8 +259,8 @@ struct entry_params {
};
enum _page_table_type {
PT_HOST = 0, /* Mapping for hypervisor */
PT_EPT = 1,
PTT_HOST = 0, /* Mapping for hypervisor */
PTT_EPT = 1,
PAGETABLE_TYPE_UNKNOWN,
};