mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-11 18:04:25 +00:00
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>
22 lines
382 B
C
22 lines
382 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VM0_BOOT_H
|
|
#define VM0_BOOT_H
|
|
|
|
#ifdef CONFIG_EFI_STUB
|
|
struct efi_context {
|
|
struct acrn_vcpu_regs vcpu_regs;
|
|
void *rsdp;
|
|
void *ap_trampoline_buf;
|
|
} __packed;
|
|
|
|
void *get_rsdp_from_uefi(void);
|
|
void *get_ap_trampoline_buf(void);
|
|
#endif
|
|
|
|
#endif /* VM0_BOOT_H */
|