mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 09:41:30 +00:00
hv: coding style: use the defined data type __packed
1) Use __attribute__((packed)) instead of #pragma pack(1) 2) Use the defined data type __packed instead of __attribute__((packed)) Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -12,7 +12,7 @@ struct efi_context {
|
||||
struct acrn_vcpu_regs vcpu_regs;
|
||||
void *rsdp;
|
||||
void *ap_trampoline_buf;
|
||||
}__attribute__((packed));
|
||||
} __packed;
|
||||
|
||||
void *get_rsdp_from_uefi(void);
|
||||
void *get_ap_trampoline_buf(void);
|
||||
|
||||
Reference in New Issue
Block a user