mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
HV: treewide: convert hexadecimals used in bitops to unsigned
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -112,7 +112,7 @@ struct vm_arch {
|
||||
/* reference to virtual platform to come here (as needed) */
|
||||
};
|
||||
|
||||
#define CPUID_CHECK_SUBLEAF (1 << 0)
|
||||
#define CPUID_CHECK_SUBLEAF (1U << 0)
|
||||
#define MAX_VM_VCPUID_ENTRIES 64
|
||||
struct vcpuid_entry {
|
||||
uint32_t eax;
|
||||
|
@@ -7,10 +7,10 @@
|
||||
#ifndef MULTIBOOT_H
|
||||
#define MULTIBOOT_H
|
||||
|
||||
#define MULTIBOOT_INFO_MAGIC 0x2BADB002
|
||||
#define MULTIBOOT_INFO_HAS_CMDLINE 0x00000004
|
||||
#define MULTIBOOT_INFO_HAS_MODS 0x00000008
|
||||
#define MULTIBOOT_INFO_HAS_DRIVES 0x00000080
|
||||
#define MULTIBOOT_INFO_MAGIC 0x2BADB002U
|
||||
#define MULTIBOOT_INFO_HAS_CMDLINE 0x00000004U
|
||||
#define MULTIBOOT_INFO_HAS_MODS 0x00000008U
|
||||
#define MULTIBOOT_INFO_HAS_DRIVES 0x00000080U
|
||||
|
||||
struct multiboot_info {
|
||||
uint32_t mi_flags;
|
||||
|
Reference in New Issue
Block a user