Searched refs:madt (Results 1 – 6 of 6) sorted by relevance
/xen/tools/libacpi/ |
A D | build.c | 78 struct acpi_20_madt *madt; in construct_madt() local 93 madt = ctxt->mem_ops.alloc(ctxt, sz, 16); in construct_madt() 94 if (!madt) return NULL; in construct_madt() 96 memset(madt, 0, sizeof(*madt)); in construct_madt() 102 madt->header.creator_id = ACPI_CREATOR_ID; in construct_madt() 105 madt->flags = ACPI_PCAT_COMPAT; in construct_madt() 165 madt->header.length = (unsigned char *)lapic - (unsigned char *)madt; in construct_madt() 167 madt->header.length); in construct_madt() 171 return madt; in construct_madt() 349 struct acpi_20_madt *madt; in construct_secondary_tables() local [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | dom0_build.c | 759 struct acpi_table_madt *madt; in pvh_setup_acpi_madt() local 778 size = sizeof(*madt); in pvh_setup_acpi_madt() 784 madt = xzalloc_bytes(size); in pvh_setup_acpi_madt() 785 if ( !madt ) in pvh_setup_acpi_madt() 800 madt->header = *table; in pvh_setup_acpi_madt() 801 madt->address = APIC_DEFAULT_PHYS_BASE; in pvh_setup_acpi_madt() 810 io_apic = (void *)(madt + 1); in pvh_setup_acpi_madt() 842 ASSERT(((void *)nmisrc - (void *)madt) == size); in pvh_setup_acpi_madt() 843 madt->header.length = size; in pvh_setup_acpi_madt() 848 madt->header.checksum -= acpi_tb_checksum(ACPI_CAST_PTR(u8, madt), size); in pvh_setup_acpi_madt() [all …]
|
/xen/xen/arch/x86/acpi/ |
A D | boot.c | 66 struct acpi_table_madt *madt; in acpi_parse_madt() local 68 madt = (struct acpi_table_madt *)table; in acpi_parse_madt() 70 if (madt->address) { in acpi_parse_madt() 71 acpi_lapic_addr = (u64) madt->address; in acpi_parse_madt() 74 madt->address); in acpi_parse_madt() 77 acpi_madt_oem_check(madt->header.oem_id, madt->header.oem_table_id); in acpi_parse_madt()
|
/xen/xen/arch/arm/acpi/ |
A D | domain_build.c | 353 struct acpi_table_madt *madt = NULL; in acpi_create_madt() local 396 madt = (struct acpi_table_madt *)base_ptr; in acpi_create_madt() 397 madt->header.length = table_size; in acpi_create_madt() 398 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, madt), table_size); in acpi_create_madt() 399 madt->header.checksum -= checksum; in acpi_create_madt()
|
/xen/tools/libxl/ |
A D | libxl_arm_acpi.c | 304 struct acpi_table_madt *madt = table; in make_acpi_madt() local 333 make_acpi_header(&madt->header, "APIC", acpitables[MADT].size, 3); in make_acpi_madt() 334 calculate_checksum(madt, offsetof(struct acpi_table_header, checksum), in make_acpi_madt()
|
/xen/xen/include/xen/ |
A D | acpi.h | 92 void acpi_table_print_madt_entry (struct acpi_subtable_header *madt);
|
Completed in 11 milliseconds