This is x86-specific code, so there is no advantage in using pc_madt_cpu_entry() behind an architecture-agnostic interface. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230908084234.17642-2-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			367 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			367 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef HW_I386_ACPI_COMMON_H
 | 
						|
#define HW_I386_ACPI_COMMON_H
 | 
						|
 | 
						|
#include "hw/acpi/bios-linker-loader.h"
 | 
						|
#include "hw/i386/x86.h"
 | 
						|
 | 
						|
/* Default IOAPIC ID */
 | 
						|
#define ACPI_BUILD_IOAPIC_ID 0x0
 | 
						|
 | 
						|
void acpi_build_madt(GArray *table_data, BIOSLinker *linker,
 | 
						|
                     X86MachineState *x86ms,
 | 
						|
                     const char *oem_id, const char *oem_table_id);
 | 
						|
 | 
						|
#endif
 |