File: seabios-hppa-remove-acpi.patch

package info (click to toggle)
qemu 1%3A10.1.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416,048 kB
  • sloc: ansic: 4,763,284; pascal: 115,134; python: 105,712; asm: 68,689; sh: 53,146; makefile: 27,519; perl: 18,864; cpp: 11,442; xml: 3,629; objc: 2,877; yacc: 2,505; php: 1,299; tcl: 1,296; lex: 1,110; sql: 71; awk: 43; sed: 35; javascript: 7
file content (28 lines) | stat: -rw-r--r-- 1,189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Michael Tokarev <mjt@tls.msk.ru>
Subject: seabios-hppa: remove ACPI
Date: Sat, 13 Sep 2025 09:03:59 +0300
Forwarded: yes

hppa does not have ACPI.  Yet, seabios-hppa contains the ACPI
code, and creates and embeds ACPI tables.  Which, strictly
speaking, requires (re)compilation of the provided source.

Instead of building ACPI tables with iasl, drop ACPI support
from the resulting seabios-hppa.

diff --git a/roms/seabios-hppa/Makefile.parisc b/roms/seabios-hppa/Makefile.parisc
--- a/roms/seabios-hppa/Makefile.parisc
+++ b/roms/seabios-hppa/Makefile.parisc
@@ -45,3 +45,3 @@ SRC32FLAT=$(SRCBOTH) post.c e820map.c romfile.c optionroms.c \
     fw/paravirt.c fw/shadow.c fw/pciinit.c fw/smm.c fw/xen.c \
-    fw/acpi.c fw/mptable.c fw/pirtable.c fw/smbios.c fw/romfile_loader.c \
+    fw/mptable.c fw/pirtable.c fw/smbios.c fw/romfile_loader.c \
     hw/virtio-ring.c hw/virtio-pci.c hw/virtio-blk.c hw/virtio-scsi.c \
diff --git a/roms/seabios-hppa/src/fw/paravirt.c b/roms/seabios-hppa/src/fw/paravirt.c
--- a/roms/seabios-hppa/src/fw/paravirt.c
+++ b/roms/seabios-hppa/src/fw/paravirt.c
@@ -253,3 +253,3 @@ qemu_platform_setup(void)
 
-    acpi_setup();
+    //acpi_setup();
 }