[PATCH v2 0/3] Fix WinXP ISO boot using the dc390/am53C974 SCSI device

Ricardo Ribalda posted 3 patches 4 weeks ago
hw/i386/acpi-build.c                 |   3 ++-
tests/data/acpi/x86/pc/DSDT          | Bin 8527 -> 8526 bytes
tests/data/acpi/x86/pc/DSDT.acpierst | Bin 8438 -> 8437 bytes
tests/data/acpi/x86/pc/DSDT.acpihmat | Bin 9852 -> 9851 bytes
tests/data/acpi/x86/pc/DSDT.bridge   | Bin 15398 -> 15397 bytes
tests/data/acpi/x86/pc/DSDT.cphp     | Bin 8991 -> 8990 bytes
tests/data/acpi/x86/pc/DSDT.dimmpxm  | Bin 10181 -> 10180 bytes
tests/data/acpi/x86/pc/DSDT.hpbridge | Bin 8478 -> 8477 bytes
tests/data/acpi/x86/pc/DSDT.hpbrroot | Bin 5034 -> 5033 bytes
tests/data/acpi/x86/pc/DSDT.ipmikcs  | Bin 8599 -> 8598 bytes
tests/data/acpi/x86/pc/DSDT.memhp    | Bin 9886 -> 9885 bytes
tests/data/acpi/x86/pc/DSDT.nohpet   | Bin 8385 -> 8384 bytes
tests/data/acpi/x86/pc/DSDT.numamem  | Bin 8533 -> 8532 bytes
tests/data/acpi/x86/pc/DSDT.roothp   | Bin 12320 -> 12319 bytes
tests/data/acpi/x86/q35/DSDT.cxl     | Bin 13148 -> 13146 bytes
tests/data/acpi/x86/q35/DSDT.viot    | Bin 14615 -> 14612 bytes
16 files changed, 2 insertions(+), 1 deletion(-)
[PATCH v2 0/3] Fix WinXP ISO boot using the dc390/am53C974 SCSI device
Posted by Ricardo Ribalda 4 weeks ago
Mark Cave-Ayland reported that after landing the pre-computed _PRT, the
above mentioned testcase failed to pass.

It seems that it is due to WinXP not handling properly a variable
package. Let's replace it.


Unfortunately, the ASL diff is not the best (or I cannot produce
something better):

12c12
<  *     Length           0x00003917 (14615)
---
>  *     Length           0x00003914 (14612)
14c14
<  *     Checksum         0xD9
---
>  *     Checksum         0x09

Diff v1:
  - Add assert(), Thanks Igor

Ricardo Ribalda (3):
  tests/acpi: pc: allow DSDT acpi table changes
  hw/i386/acpi-build: return a non-var package from _PRT()
  tests/acpi: pc: update golden masters for DSDT

 hw/i386/acpi-build.c                 |   3 ++-
 tests/data/acpi/x86/pc/DSDT          | Bin 8527 -> 8526 bytes
 tests/data/acpi/x86/pc/DSDT.acpierst | Bin 8438 -> 8437 bytes
 tests/data/acpi/x86/pc/DSDT.acpihmat | Bin 9852 -> 9851 bytes
 tests/data/acpi/x86/pc/DSDT.bridge   | Bin 15398 -> 15397 bytes
 tests/data/acpi/x86/pc/DSDT.cphp     | Bin 8991 -> 8990 bytes
 tests/data/acpi/x86/pc/DSDT.dimmpxm  | Bin 10181 -> 10180 bytes
 tests/data/acpi/x86/pc/DSDT.hpbridge | Bin 8478 -> 8477 bytes
 tests/data/acpi/x86/pc/DSDT.hpbrroot | Bin 5034 -> 5033 bytes
 tests/data/acpi/x86/pc/DSDT.ipmikcs  | Bin 8599 -> 8598 bytes
 tests/data/acpi/x86/pc/DSDT.memhp    | Bin 9886 -> 9885 bytes
 tests/data/acpi/x86/pc/DSDT.nohpet   | Bin 8385 -> 8384 bytes
 tests/data/acpi/x86/pc/DSDT.numamem  | Bin 8533 -> 8532 bytes
 tests/data/acpi/x86/pc/DSDT.roothp   | Bin 12320 -> 12319 bytes
 tests/data/acpi/x86/q35/DSDT.cxl     | Bin 13148 -> 13146 bytes
 tests/data/acpi/x86/q35/DSDT.viot    | Bin 14615 -> 14612 bytes
 16 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.46.0.792.g87dc391469-goog