mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-02 22:30:40 -07:00
Step 6 & 7 of the bios-tables-test.c documented procedure.
Differences between disassembled ASL files for MADT:
@@ -11,9 +11,9 @@
*/
[000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)]
-[004h 0004 4] Table Length : 000000A8
-[008h 0008 1] Revision : 03
-[009h 0009 1] Checksum : 50
+[004h 0004 4] Table Length : 000000AC
+[008h 0008 1] Revision : 04
+[009h 0009 1] Checksum : 47
[00Ah 0010 6] Oem ID : "BOCHS "
[010h 0016 8] Oem Table ID : "BXPC "
[018h 0024 4] Oem Revision : 00000001
@@ -34,7 +34,7 @@
[041h 0065 3] Reserved : 000000
[044h 0068 1] Subtable Type : 0B [Generic Interrupt Controller]
-[045h 0069 1] Length : 4C
+[045h 0069 1] Length : 50
[046h 0070 2] Reserved : 0000
[048h 0072 4] CPU Interface Number : 00000000
[04Ch 0076 4] Processor UID : 00000000
@@ -51,28 +51,29 @@
[07Ch 0124 4] Virtual GIC Interrupt : 00000000
[080h 0128 8] Redistributor Base Address : 0000000000000000
[088h 0136 8] ARM MPIDR : 0000000000000000
-/**** ACPI subtable terminates early - may be older version (dump table) */
+[090h 0144 1] Efficiency Class : 00
+[091h 0145 3] Reserved : 000000
-[090h 0144 1] Subtable Type : 0D [Generic MSI Frame]
-[091h 0145 1] Length : 18
-[092h 0146 2] Reserved : 0000
-[094h 0148 4] MSI Frame ID : 00000000
-[098h 0152 8] Base Address : 0000000008020000
-[0A0h 0160 4] Flags (decoded below) : 00000001
+[094h 0148 1] Subtable Type : 0D [Generic MSI Frame]
+[095h 0149 1] Length : 18
+[096h 0150 2] Reserved : 0000
+[098h 0152 4] MSI Frame ID : 00000000
+[09Ch 0156 8] Base Address : 0000000008020000
+[0A4h 0164 4] Flags (decoded below) : 00000001
Select SPI : 1
-[0A4h 0164 2] SPI Count : 0040
-[0A6h 0166 2] SPI Base : 0050
+[0A8h 0168 2] SPI Count : 0040
+[0AAh 0170 2] SPI Base : 0050
-Raw Table Data: Length 168 (0xA8)
+Raw Table Data: Length 172 (0xAC)
- 0000: 41 50 49 43 A8 00 00 00 03 50 42 4F 43 48 53 20 // APIC.....PBOCHS
+ 0000: 41 50 49 43 AC 00 00 00 04 47 42 4F 43 48 53 20 // APIC.....GBOCHS
0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC
0020: 01 00 00 00 00 00 00 00 00 00 00 00 0C 18 00 00 // ................
0030: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 // ................
- 0040: 02 00 00 00 0B 4C 00 00 00 00 00 00 00 00 00 00 // .....L..........
+ 0040: 02 00 00 00 0B 50 00 00 00 00 00 00 00 00 00 00 // .....P..........
0050: 01 00 00 00 00 00 00 00 17 00 00 00 00 00 00 00 // ................
0060: 00 00 00 00 00 00 01 08 00 00 00 00 00 00 04 08 // ................
0070: 00 00 00 00 00 00 03 08 00 00 00 00 00 00 00 00 // ................
0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
- 0090: 0D 18 00 00 00 00 00 00 00 00 02 08 00 00 00 00 // ................
- 00A0: 01 00 00 00 40 00 50 00 // ....@.P.
+ 0090: 00 00 00 00 0D 18 00 00 00 00 00 00 00 00 02 08 // ................
+ 00A0: 00 00 00 00 01 00 00 00 40 00 50 00 // ........@.P.
Differences between disassembled ASL files for FADT:
@@ -11,9 +11,9 @@
*/
[000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)]
-[004h 0004 4] Table Length : 0000010C
-[008h 0008 1] Revision : 05
-[009h 0009 1] Checksum : 55
+[004h 0004 4] Table Length : 00000114
+[008h 0008 1] Revision : 06
+[009h 0009 1] Checksum : 15
[00Ah 0010 6] Oem ID : "BOCHS "
[010h 0016 8] Oem Table ID : "BXPC "
[018h 0024 4] Oem Revision : 00000001
@@ -99,7 +99,7 @@
PSCI Compliant : 1
Must use HVC for PSCI : 1
-[083h 0131 1] FADT Minor Revision : 01
+[083h 0131 1] FADT Minor Revision : 00
[084h 0132 8] FACS Address : 0000000000000000
[08Ch 0140 8] DSDT Address : 0000000000000000
[094h 0148 12] PM1A Event Block : [Generic Address Structure]
@@ -173,11 +173,11 @@
[103h 0259 1] Encoded Access Width : 00 [Undefined/Legacy]
[104h 0260 8] Address : 0000000000000000
-/**** ACPI table terminates in the middle of a data structure! (dump table) */
+[10Ch 0268 8] Hypervisor ID : 00000000554D4551
-Raw Table Data: Length 268 (0x10C)
+Raw Table Data: Length 276 (0x114)
- 0000: 46 41 43 50 0C 01 00 00 05 55 42 4F 43 48 53 20 // FACP.....UBOCHS
+ 0000: 46 41 43 50 14 01 00 00 06 15 42 4F 43 48 53 20 // FACP......BOCHS
0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC
0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
@@ -185,7 +185,7 @@ Raw Table Data: Length 268 (0x10C)
0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
0070: 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
- 0080: 00 03 00 01 00 00 00 00 00 00 00 00 00 00 00 00 // ................
+ 0080: 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
00B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
@@ -193,4 +193,5 @@ Raw Table Data: Length 268 (0x10C)
00D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
00E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
00F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................
- 0100: 00 00 00 00 00 00 00 00 00 00 00 00 // ............
+ 0100: 00 00 00 00 00 00 00 00 00 00 00 00 51 45 4D 55 // ............QEMU
+ 0110: 00 00 00 00 // ....
Signed-off-by: Miguel Luis <miguel.luis@oracle.com>
Message-Id: <20221011181730.10885-5-miguel.luis@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Ani Sinha <ani@anisinha.ca>
|
||
|---|---|---|
| .. | ||
| fuzz | ||
| libqos | ||
| ac97-test.c | ||
| acpi-utils.c | ||
| acpi-utils.h | ||
| adm1272-test.c | ||
| ahci-test.c | ||
| am53c974-test.c | ||
| arm-cpu-features.c | ||
| aspeed_gpio-test.c | ||
| aspeed_hace-test.c | ||
| aspeed_smc-test.c | ||
| bcm2835-dma-test.c | ||
| bios-tables-test-allowed-diff.h | ||
| bios-tables-test.c | ||
| boot-order-test.c | ||
| boot-sector.c | ||
| boot-sector.h | ||
| boot-serial-test.c | ||
| cdrom-test.c | ||
| cmsdk-apb-dualtimer-test.c | ||
| cmsdk-apb-timer-test.c | ||
| cmsdk-apb-watchdog-test.c | ||
| cpu-plug-test.c | ||
| cxl-test.c | ||
| dbus-display-test.c | ||
| dbus-vmstate-test.c | ||
| device-introspect-test.c | ||
| device-plug-test.c | ||
| display-vga-test.c | ||
| drive_del-test.c | ||
| ds1338-test.c | ||
| e1000-test.c | ||
| e1000e-test.c | ||
| eepro100-test.c | ||
| emc141x-test.c | ||
| endianness-test.c | ||
| erst-test.c | ||
| es1370-test.c | ||
| fdc-test.c | ||
| fuzz-e1000e-test.c | ||
| fuzz-lsi53c895a-test.c | ||
| fuzz-megasas-test.c | ||
| fuzz-sb16-test.c | ||
| fuzz-sdcard-test.c | ||
| fuzz-virtio-scsi-test.c | ||
| fuzz-xlnx-dp-test.c | ||
| fw_cfg-test.c | ||
| hd-geo-test.c | ||
| hexloader-test.c | ||
| i440fx-test.c | ||
| i82801b11-test.c | ||
| ide-test.c | ||
| intel-hda-test.c | ||
| ioh3420-test.c | ||
| ipmi-bt-test.c | ||
| ipmi-kcs-test.c | ||
| ipoctal232-test.c | ||
| isl_pmbus_vr-test.c | ||
| ivshmem-test.c | ||
| libqmp.c | ||
| libqmp.h | ||
| libqtest-single.h | ||
| libqtest.c | ||
| libqtest.h | ||
| lpc-ich9-test.c | ||
| lsm303dlhc-mag-test.c | ||
| m48t59-test.c | ||
| machine-none-test.c | ||
| max34451-test.c | ||
| megasas-test.c | ||
| meson.build | ||
| microbit-test.c | ||
| migration-helpers.c | ||
| migration-helpers.h | ||
| migration-test.c | ||
| modules-test.c | ||
| ne2000-test.c | ||
| npcm7xx_adc-test.c | ||
| npcm7xx_emc-test.c | ||
| npcm7xx_gpio-test.c | ||
| npcm7xx_pwm-test.c | ||
| npcm7xx_rng-test.c | ||
| npcm7xx_sdhci-test.c | ||
| npcm7xx_smbus-test.c | ||
| npcm7xx_timer-test.c | ||
| npcm7xx_watchdog_timer-test.c | ||
| numa-test.c | ||
| nvme-test.c | ||
| pca9552-test.c | ||
| pci-test.c | ||
| pcnet-test.c | ||
| pflash-cfi02-test.c | ||
| pnv-xscom-test.c | ||
| prom-env-test.c | ||
| pvpanic-pci-test.c | ||
| pvpanic-test.c | ||
| pxe-test.c | ||
| q35-test.c | ||
| qmp-cmd-test.c | ||
| qmp-test.c | ||
| qom-test.c | ||
| qos-test.c | ||
| readconfig-test.c | ||
| rtas-test.c | ||
| rtc-test.c | ||
| rtl8139-test.c | ||
| sdhci-test.c | ||
| spapr-phb-test.c | ||
| sse-timer-test.c | ||
| tco-test.c | ||
| test-arm-mptimer.c | ||
| test-filter-mirror.c | ||
| test-filter-redirector.c | ||
| test-hmp.c | ||
| test-netfilter.c | ||
| test-x86-cpuid-compat.c | ||
| tmp105-test.c | ||
| tpm-crb-swtpm-test.c | ||
| tpm-crb-test.c | ||
| tpm-emu.c | ||
| tpm-emu.h | ||
| tpm-tests.c | ||
| tpm-tests.h | ||
| tpm-tis-device-swtpm-test.c | ||
| tpm-tis-device-test.c | ||
| tpm-tis-swtpm-test.c | ||
| tpm-tis-test.c | ||
| tpm-tis-util.c | ||
| tpm-tis-util.h | ||
| tpm-util.c | ||
| tpm-util.h | ||
| tulip-test.c | ||
| usb-hcd-ehci-test.c | ||
| usb-hcd-ohci-test.c | ||
| usb-hcd-uhci-test.c | ||
| usb-hcd-xhci-test.c | ||
| vhost-user-blk-test.c | ||
| vhost-user-test.c | ||
| virtio-9p-test.c | ||
| virtio-blk-test.c | ||
| virtio-ccw-test.c | ||
| virtio-iommu-test.c | ||
| virtio-net-failover.c | ||
| virtio-net-test.c | ||
| virtio-rng-test.c | ||
| virtio-scsi-test.c | ||
| virtio-serial-test.c | ||
| virtio-test.c | ||
| vmgenid-test.c | ||
| vmxnet3-test.c | ||
| vnc-display-test.c | ||
| wdt_ib700-test.c | ||
| xlnx-can-test.c | ||