Home
last modified time | relevance | path

Searched refs:hvminfo (Results 1 – 4 of 4) sorted by relevance

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_x86_acpi.c100 struct hvm_info_table *hvminfo; in init_acpi_config() local
113 hvminfo = libxl__zalloc(gc, sizeof(*hvminfo)); in init_acpi_config()
115 hvminfo->apic_mode = libxl_defbool_val(b_info->apic); in init_acpi_config()
124 &hvminfo->nr_vcpus, NULL, NULL, NULL); in init_acpi_config()
133 vcpu_to_vnode = libxl__zalloc(gc, hvminfo->nr_vcpus * in init_acpi_config()
136 &numa->nr_vmemranges, &hvminfo->nr_vcpus, in init_acpi_config()
147 hvminfo->nr_vcpus = info.max_vcpu_id + 1; in init_acpi_config()
150 for (i = 0; i < hvminfo->nr_vcpus; i++) in init_acpi_config()
151 hvminfo->vcpu_online[i / 8] |= 1 << (i & 7); in init_acpi_config()
153 config->hvminfo = hvminfo; in init_acpi_config()
/xen-4.10.0-shim-comet/tools/libacpi/
A Dbuild.c82 const struct hvm_info_table *hvminfo = config->hvminfo; in construct_madt() local
91 sz += sizeof(struct acpi_20_madt_lapic) * hvminfo->nr_vcpus; in construct_madt()
150 info->nr_cpus = hvminfo->nr_vcpus; in construct_madt()
152 for ( i = 0; i < hvminfo->nr_vcpus; i++ ) in construct_madt()
160 lapic->flags = (test_bit(i, hvminfo->vcpu_online) in construct_madt()
224 size = sizeof(*srat) + sizeof(*processor) * config->hvminfo->nr_vcpus + in construct_srat()
242 for ( i = 0; i < config->hvminfo->nr_vcpus; i++ ) in construct_srat()
358 if ( (config->hvminfo->nr_vcpus > 1) || config->hvminfo->apic_mode ) in construct_secondary_tables()
555 if ( config->hvminfo->nr_vcpus <= 15 && config->dsdt_15cpu) in acpi_build_tables()
A Dlibacpi.h79 const struct hvm_info_table *hvminfo; member
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dutil.c984 config->hvminfo = hvm_info; in hvmloader_acpi_build_tables()

Completed in 8 milliseconds