mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
HV: treewide: convert suffix ULL to UL
It is already assumed that ''long'' has 8-bytes, and thus there is no need to use ULL to indicate a 8-byte unsigned constant. This patch changes all ULL suffixes found in the hypervisor to UL. Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -801,8 +801,8 @@ uint64_t create_guest_initial_paging(struct vm *vm)
|
||||
/* The GDT defined below compatible with linux kernel */
|
||||
#define GUEST_INIT_GDT_DESC_0 (0x0)
|
||||
#define GUEST_INIT_GDT_DESC_1 (0x0)
|
||||
#define GUEST_INIT_GDT_DESC_2 (0x00CF9B000000FFFFULL) /* Linear Code */
|
||||
#define GUEST_INIT_GDT_DESC_3 (0x00CF93000000FFFFULL) /* Linear Data */
|
||||
#define GUEST_INIT_GDT_DESC_2 (0x00CF9B000000FFFFUL) /* Linear Code */
|
||||
#define GUEST_INIT_GDT_DESC_3 (0x00CF93000000FFFFUL) /* Linear Data */
|
||||
|
||||
static const uint64_t guest_init_gdt[] = {
|
||||
GUEST_INIT_GDT_DESC_0,
|
||||
|
Reference in New Issue
Block a user