mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +00:00
dm: acpi: retrieve physical APIC IDs and use them to fill in the ACPI MADT table
Two utility functions are copied and adapted from hyerpervisor: ffs64 bitmap_clear_nolock Two public functions are provided for future use (such as for RTCTv2) pcpuid_from_vcpuid lapicid_from_pcpuid Tracked-On: #6020 Reviewed-by: Wang, Yu1 <yu1.wang@intel.com> Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
This commit is contained in:
@@ -753,6 +753,8 @@ vm_get_config(struct vmctx *ctx, struct acrn_vm_config *vm_cfg, struct platform_
|
||||
memcpy((void *)vm_cfg, (void *)pcfg, sizeof(struct acrn_vm_config));
|
||||
if (plat_info != NULL) {
|
||||
memcpy((void *)plat_info, (void *)&platform_info, sizeof(struct platform_info));
|
||||
pr_info("%s, l2_cat_shift=%u, l3_cat_shift=%u\n",
|
||||
__func__, platform_info.l2_cat_shift, platform_info.l3_cat_shift);
|
||||
}
|
||||
|
||||
exit:
|
||||
|
Reference in New Issue
Block a user