/qemu/hw/i386/ |
H A D | acpi-microvm.c | 148 static void acpi_build_microvm(AcpiBuildTables *tables, in acpi_build_microvm() argument 154 GArray *tables_blob = tables->table_data; in acpi_build_microvm() 190 bios_linker_loader_alloc(tables->linker, in acpi_build_microvm() 196 build_dsdt_microvm(tables_blob, tables->linker, mms); in acpi_build_microvm() 201 build_fadt(tables_blob, tables->linker, &pmfadt, x86ms->oem_id, in acpi_build_microvm() 205 acpi_build_madt(tables_blob, tables->linker, X86_MACHINE(machine), in acpi_build_microvm() 214 build_erst(tables_blob, tables->linker, erst_dev, in acpi_build_microvm() 221 build_xsdt(tables_blob, tables->linker, table_offsets, x86ms->oem_id, in acpi_build_microvm() 233 build_rsdp(tables->rsdp, tables->linker, &rsdp_data); in acpi_build_microvm() 248 AcpiBuildTables tables; in acpi_setup_microvm() local [all …]
|
H A D | acpi-build.c | 2435 void acpi_build(AcpiBuildTables *tables, MachineState *machine) in acpi_build() argument 2447 GArray *tables_blob = tables->table_data; in acpi_build() 2474 bios_linker_loader_alloc(tables->linker, in acpi_build() 2489 build_dsdt(tables_blob, tables->linker, &pm, &misc, in acpi_build() 2497 build_fadt(tables_blob, tables->linker, &pm.fadt, oem_id, oem_table_id); in acpi_build() 2500 acpi_build_madt(tables_blob, tables->linker, x86ms, in acpi_build() 2509 build_erst(tables_blob, tables->linker, erst_dev, in acpi_build() 2519 tables->vmgenid, tables->linker, x86ms->oem_id); in acpi_build() 2525 vmclock_build_acpi(VMCLOCK(vmclock_dev), tables_blob, tables->linker, in acpi_build() 2531 build_hpet(tables_blob, tables->linker, x86ms->oem_id, in acpi_build() [all …]
|
/qemu/hw/loongarch/ |
H A D | virt-acpi-build.c | 512 static void acpi_build(AcpiBuildTables *tables, MachineState *machine) in acpi_build() argument 519 GArray *tables_blob = tables->table_data; in acpi_build() 526 bios_linker_loader_alloc(tables->linker, in acpi_build() 540 build_dsdt(tables_blob, tables->linker, machine); in acpi_build() 547 build_fadt(tables_blob, tables->linker, &fadt_data, in acpi_build() 551 build_madt(tables_blob, tables->linker, lvms); in acpi_build() 554 build_pptt(tables_blob, tables->linker, machine, in acpi_build() 558 build_srat(tables_blob, tables->linker, machine); in acpi_build() 560 spcr_setup(tables_blob, tables->linker, machine); in acpi_build() 565 build_slit(tables_blob, tables->linker, machine, lvms->oem_id, in acpi_build() [all …]
|
H A D | boot.c | 105 guidcpy(&systab->tables[0].guid, &tbl_guid); in init_efi_boot_memmap() 106 systab->tables[0].table = (struct efi_configuration_table *)(p - start); in init_efi_boot_memmap() 131 guidcpy(&systab->tables[1].guid, &tbl_guid); in init_efi_initrd_table() 132 systab->tables[1].table = (struct efi_configuration_table *)(p - start); in init_efi_initrd_table() 144 guidcpy(&systab->tables[2].guid, &tbl_guid); in init_efi_fdt_table() 145 systab->tables[2].table = (void *)FDT_BASE; in init_efi_fdt_table() 166 systab->tables = p; in init_systab() 176 systab->tables = (struct efi_configuration_table *)(bp_tables_start - start); in init_systab()
|
/qemu/hw/arm/ |
H A D | virt-acpi-build.c | 893 void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables) in virt_acpi_build() argument 898 GArray *tables_blob = tables->table_data; in virt_acpi_build() 904 bios_linker_loader_alloc(tables->linker, in virt_acpi_build() 910 build_dsdt(tables_blob, tables->linker, vms); in virt_acpi_build() 914 build_fadt_rev6(tables_blob, tables->linker, vms, dsdt); in virt_acpi_build() 917 build_madt(tables_blob, tables->linker, vms); in virt_acpi_build() 921 build_pptt(tables_blob, tables->linker, ms, in virt_acpi_build() 926 build_gtdt(tables_blob, tables->linker, vms); in virt_acpi_build() 934 build_mcfg(tables_blob, tables->linker, &mcfg, vms->oem_id, in virt_acpi_build() 939 spcr_setup(tables_blob, tables->linker, vms); in virt_acpi_build() [all …]
|
/qemu/tests/uefi-test-tools/ |
H A D | uefi-test-build.config | 12 cpy1 = ARM/BiosTablesTest.efi bios-tables-test.arm.efi 22 cpy1 = AARCH64/BiosTablesTest.efi bios-tables-test.aarch64.efi 32 cpy1 = LOONGARCH64/BiosTablesTest.efi bios-tables-test.loongarch64.efi 42 cpy1 = RISCV64/BiosTablesTest.efi bios-tables-test.riscv64.efi 52 cpy1 = IA32/BiosTablesTest.efi bios-tables-test.i386.efi 62 cpy1 = X64/BiosTablesTest.efi bios-tables-test.x86_64.efi
|
H A D | Makefile | 16 uefi_binaries := bios-tables-test 100 Build/bios-tables-test.%.efi:
|
/qemu/hw/riscv/ |
H A D | virt-acpi-build.c | 863 static void virt_acpi_build(RISCVVirtState *s, AcpiBuildTables *tables) in virt_acpi_build() argument 867 GArray *tables_blob = tables->table_data; in virt_acpi_build() 873 bios_linker_loader_alloc(tables->linker, in virt_acpi_build() 879 build_dsdt(tables_blob, tables->linker, s); in virt_acpi_build() 883 build_fadt_rev6(tables_blob, tables->linker, s, dsdt); in virt_acpi_build() 886 build_madt(tables_blob, tables->linker, s); in virt_acpi_build() 889 build_rhct(tables_blob, tables->linker, s); in virt_acpi_build() 893 build_rimt(tables_blob, tables->linker, s); in virt_acpi_build() 897 spcr_setup(tables_blob, tables->linker, s); in virt_acpi_build() 905 build_mcfg(tables_blob, tables->linker, &mcfg, s->oem_id, in virt_acpi_build() [all …]
|
/qemu/tests/data/acpi/ |
H A D | rebuild-expected-aml.sh | 50 TEST_ACPI_REBUILD_AML=y QTEST_QEMU_BINARY=$qemu tests/qtest/bios-tables-test 55 …omma-separated changed AML files to ignore' ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.… 57 …separated changed AML files to ignore */' > ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.h
|
/qemu/tests/qtest/ |
H A D | bios-tables-test.c | 92 GArray *tables; member 144 if (!data->tables) { in free_test_data() 147 for (i = 0; i < data->tables->len; ++i) { in free_test_data() 148 cleanup_table_descriptor(&g_array_index(data->tables, AcpiSdtTable, i)); in free_test_data() 151 g_array_free(data->tables, true); in free_test_data() 199 g_array_append_val(data->tables, ssdt_table); in test_acpi_rxsdt_table() 207 AcpiSdtTable table = g_array_index(data->tables, typeof(table), 0); in test_acpi_fadt_table() 222 g_array_append_val(data->tables, table); in test_acpi_fadt_table() 233 g_array_append_val(data->tables, table); in test_acpi_fadt_table() 257 exp_data.tables = load_expected_aml(data); in dump_aml_files() [all …]
|
H A D | meson.build | 4 'bios-tables-test' : 910, 107 config_all_devices.has_key('CONFIG_PARALLEL') ? ['bios-tables-test'] : []) + \ 252 # TODO: once aarch64 TCG is fixed on ARM 32 bit host, make bios-tables-test unconditional 254 (cpu != 'arm' and unpack_edk2_blobs ? ['bios-tables-test'] : []) + \ 282 (unpack_edk2_blobs ? ['bios-tables-test'] : []) 371 'bios-tables-test': [io, 'boot-sector.c', 'acpi-utils.c', 'tpm-emu.c'],
|
/qemu/docs/interop/ |
H A D | qed_spec.txt | 9 …y be a '''data cluster''', an '''L2''', or an '''L1 table'''. L1 and L2 tables are composed of on… 20 uint32_t table_size; /* for L1 and L2 tables, in clusters */ 66 The tables are organized as follows: 80 …size for an image file. For example, cluster_size=64 KB and table_size=4 results in 256 KB tables. 96 ===Unallocated L2 tables and data clusters=== 134 …an inconsistency to have a cluster referenced more than once by L1 or L2 tables. A cluster has be… 138 The consistency check process starts by from ''l1_table_offset'' and scans all L2 tables. After th…
|
/qemu/docs/specs/ |
H A D | acpi_hest_ghes.rst | 1 APEI tables generating and CPER record 15 etc/acpi/tables etc/hardware_errors 60 "etc/acpi/tables" fw_cfg blob. Each error source has different 77 firmware pre-allocates memory for "etc/acpi/tables", "etc/hardware_errors"
|
H A D | vmgenid.rst | 65 # iasl -p ./SSDT -d /sys/firmware/acpi/tables/SSDT 71 Reading ACPI table from file /sys/firmware/acpi/tables/SSDT - Length 90 * Disassembly of /sys/firmware/acpi/tables/SSDT, Sun Feb 5 00:19:37 2017 103 DefinitionBlock ("/sys/firmware/acpi/tables/SSDT.aml", "SSDT", 1, "BOCHS ", "VMGENID", 0x00000001)
|
H A D | ppc-xive.rst | 73 XIVE internal tables 76 Each of the sub-engines uses a set of tables to redirect interrupts 186 IVPE. It routes event notifications using the EAS and END tables to
|
H A D | fw_cfg.rst | 10 contain tables to be installed for the guest OS. Examples include device 11 boot order, ACPI and SMBIOS tables, virtual machine UUID, SMP and NUMA 101 ACPI tables to be passed into the guest through the fw_cfg device itself, 103 firmware is finished setting up ACPI tables and hands control over to the
|
/qemu/docs/ |
H A D | qcow2-cache.txt | 36 The L2 tables 40 called the L1 and L2 tables. 45 There can be many L2 tables, depending on how much space has been 61 L1/L2 tables described above. 131 more memory than needed to hold all of the image's L2 tables, regardless 147 Unlike L2 tables, refcount blocks are not used during normal I/O but 161 The qcow2 L2 cache can store complete tables. This means that if QEMU 197 - If the L2 cache is big enough to hold all of the image's L2 tables
|
/qemu/hw/acpi/ |
H A D | aml-build.c | 1775 void acpi_build_tables_init(AcpiBuildTables *tables) in acpi_build_tables_init() argument 1777 tables->rsdp = g_array_new(false, true /* clear */, 1); in acpi_build_tables_init() 1778 tables->table_data = g_array_new(false, true /* clear */, 1); in acpi_build_tables_init() 1779 tables->tcpalog = g_array_new(false, true /* clear */, 1); in acpi_build_tables_init() 1780 tables->vmgenid = g_array_new(false, true /* clear */, 1); in acpi_build_tables_init() 1781 tables->hardware_errors = g_array_new(false, true /* clear */, 1); in acpi_build_tables_init() 1782 tables->linker = bios_linker_loader_init(); in acpi_build_tables_init() 1785 void acpi_build_tables_cleanup(AcpiBuildTables *tables, bool mfre) in acpi_build_tables_cleanup() argument 1787 bios_linker_loader_cleanup(tables->linker); in acpi_build_tables_cleanup() 1788 g_array_free(tables->rsdp, true); in acpi_build_tables_cleanup() [all …]
|
/qemu/tests/qtest/migration/s390x/ |
H A D | Makefile | 9 -msoft-float -march=z900 -fno-asynchronous-unwind-tables \
|
/qemu/include/hw/loongarch/ |
H A D | boot.h | 73 struct efi_configuration_table *tables; member
|
/qemu/tests/qemu-iotests/ |
H A D | 082.out | 67 extended_l2=<bool (on/off)> - Extended L2 tables 93 extended_l2=<bool (on/off)> - Extended L2 tables 119 extended_l2=<bool (on/off)> - Extended L2 tables 145 extended_l2=<bool (on/off)> - Extended L2 tables 171 extended_l2=<bool (on/off)> - Extended L2 tables 197 extended_l2=<bool (on/off)> - Extended L2 tables 223 extended_l2=<bool (on/off)> - Extended L2 tables 249 extended_l2=<bool (on/off)> - Extended L2 tables 290 extended_l2=<bool (on/off)> - Extended L2 tables 377 extended_l2=<bool (on/off)> - Extended L2 tables [all …]
|
/qemu/tests/tcg/tricore/ |
H A D | link.ld | 39 * Create the clear and copy tables that tell the startup code
|
/qemu/include/hw/ppc/ |
H A D | pnv_xive.h | 156 uint64_t tables[8][XIVE_BLOCK_MAX]; member
|
/qemu/hw/smbios/ |
H A D | smbios.c | 1091 uint8_t **tables, size_t *tables_len, in smbios_get_tables_ep() argument 1175 *tables = smbios_tables; in smbios_get_tables_ep() 1198 uint8_t **tables, size_t *tables_len, in smbios_get_tables() argument 1211 tables, tables_len, in smbios_get_tables() 1227 tables, tables_len, in smbios_get_tables()
|
/qemu/docs/system/riscv/ |
H A D | virt.rst | 119 When this option is "on" (which is the default), ACPI tables are generated and 120 exposed as firmware tables etc/acpi/rsdp and etc/acpi/tables.
|