mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-18 17:00:26 +00:00
hw_x86_64_muen: Include static ACPI report ROM
Enable the ACPI functionality in the platform_drv on hw_x86_64_muen and provide a simple generated XML report as ROM session in order to make the PCI configuration space available. This is a requirement to implement support for MSI on hw_x86_64_muen.
This commit is contained in:
parent
74dd356dcd
commit
f1d2d7251d
@ -22,10 +22,11 @@ proc append_platform_drv_build_components {} {
|
||||
proc append_platform_drv_boot_modules {} {
|
||||
global boot_modules
|
||||
|
||||
lappend_if [have_platform_drv] boot_modules platform_drv
|
||||
lappend_if [have_spec acpi] boot_modules acpi_drv
|
||||
lappend_if [have_spec acpi] boot_modules report_rom
|
||||
lappend_if [have_spec nova] boot_modules device_pd
|
||||
lappend_if [have_platform_drv] boot_modules platform_drv
|
||||
lappend_if [have_spec acpi] boot_modules acpi_drv
|
||||
lappend_if [have_spec acpi] boot_modules report_rom
|
||||
lappend_if [have_spec nova] boot_modules device_pd
|
||||
lappend_if [have_spec hw_x86_64_muen] boot_modules acpi
|
||||
}
|
||||
|
||||
proc platform_drv_policy {} {
|
||||
@ -121,7 +122,7 @@ proc append_platform_drv_config {} {
|
||||
<any-service> <parent/> </any-service>
|
||||
</route>}
|
||||
|
||||
if {[have_spec acpi] || [have_spec arm]} {
|
||||
if {[have_spec acpi] || [have_spec arm] || [have_spec hw_x86_64_muen]} {
|
||||
|
||||
append config {
|
||||
<config>}
|
||||
|
@ -30,6 +30,13 @@ proc run_boot_dir {binaries} {
|
||||
set core_target "core"
|
||||
}
|
||||
|
||||
# generate static ACPI report for platform driver on Muen
|
||||
if {[have_spec "hw_x86_64_muen"]} {
|
||||
set fh [open "bin/acpi" "WRONLY CREAT TRUNC"]
|
||||
puts $fh "<acpi><bdf start=\"0\" count=\"16384\" base=\"0xf8000000\"/></acpi>"
|
||||
close $fh
|
||||
}
|
||||
|
||||
# strip binaries
|
||||
copy_and_strip_genode_binaries_to_run_dir $binaries
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user