mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 d0aa026a49
			
		
	
	
		d0aa026a49
		
	
	
	
	
		
			
			Instead of composing disabled _MAT entry and then later on patching it to enabled for hotpluggbale CPUs in DSDT, set it to enabled at the time _MAT entry is built. It will allow to drop usage of packed structures in following patches when build_madt() is switched to use build_append_int_noprefix() API. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20210924122802.1455362-24-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			311 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			311 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "qemu/osdep.h"
 | |
| #include "hw/i386/pc.h"
 | |
| #include "hw/i386/acpi-build.h"
 | |
| 
 | |
| void pc_madt_cpu_entry(AcpiDeviceIf *adev, int uid,
 | |
|                        const CPUArchIdList *apic_ids, GArray *entry,
 | |
|                        bool force_enabled)
 | |
| {
 | |
| }
 | |
| 
 | |
| Object *acpi_get_i386_pci_host(void)
 | |
| {
 | |
|        return NULL;
 | |
| }
 |