mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 10:25:00 +00:00
hv: replace CPU_PAGE_SHIFT with PAGE_SHIFT
- replace CPU_PAGE_SHIFT with PAGE_SHIFT These two MACROs are duplicated and PAGE_SHIFT is a more reasonable name. - remove unused MACROs related to page shift in cpu.h Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -39,12 +39,8 @@
|
||||
#define CPU_H
|
||||
|
||||
/* Define page size */
|
||||
#define CPU_PAGE_SHIFT 12U
|
||||
#define CPU_PAGE_MASK 0xFFFFFFFFFFFFF000UL
|
||||
|
||||
#define MMU_PTE_PAGE_SHIFT CPU_PAGE_SHIFT
|
||||
#define MMU_PDE_PAGE_SHIFT 21U
|
||||
|
||||
/* Define CPU stack alignment */
|
||||
#define CPU_STACK_ALIGN 16UL
|
||||
|
||||
|
Reference in New Issue
Block a user