mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
run: constrain physical memory for pci/acpi driver
Permit pci/acpi driver to constrain physical memory allocation to needs of the driver it serves. Fixes #1045
This commit is contained in:
parent
34719c4589
commit
2e1686558c
@ -57,7 +57,7 @@ append_if [have_spec gpio] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -71,7 +71,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -72,7 +72,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
<resource name="RAM" quantum="10M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -99,7 +99,7 @@ append_if [have_spec gpio] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -50,7 +50,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -64,7 +64,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -88,7 +88,7 @@ network={
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="16M"/>
|
||||
<resource name="RAM" quantum="16M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -115,7 +115,7 @@ append_if [have_spec gpio] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -46,7 +46,7 @@ append config {
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</default-route>
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<resource name="RAM" quantum="4M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
|
@ -92,7 +92,7 @@ append_if $use_nic_driver config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -106,7 +106,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start>}
|
||||
|
||||
|
@ -76,7 +76,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -91,7 +91,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -57,7 +57,7 @@ append_if [have_spec sdl] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -71,7 +71,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr [have_spec pci] && ![have_spec acpi]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
</provides>
|
||||
|
@ -77,7 +77,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -91,7 +91,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start>}
|
||||
|
||||
|
@ -90,7 +90,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -104,7 +104,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -78,7 +78,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -92,7 +92,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -119,7 +119,7 @@ append config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -133,7 +133,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -122,7 +122,7 @@ append_if $use_nic_driver config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -136,7 +136,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start>}
|
||||
|
||||
|
@ -119,7 +119,7 @@ append_if [expr ![have_spec omap4] && ![have_spec exynos5]] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -133,7 +133,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -123,7 +123,7 @@ proc drivers_start_nodes { feature_arg } {
|
||||
|
||||
append_if [use_acpi_drv feature] start_nodes {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
<resource name="RAM" quantum="10M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -177,7 +177,7 @@ proc drivers_start_nodes { feature_arg } {
|
||||
|
||||
append_if [expr [use_pci_drv feature] && ![use_acpi_drv feature]] start_nodes {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ append_if [have_spec exynos5] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -63,7 +63,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -71,7 +71,7 @@ append_if [expr ![have_spec acpi] && ![have_spec pci]] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="16M"/>
|
||||
<resource name="RAM" quantum="16M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -85,7 +85,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -51,7 +51,7 @@ append_if [have_spec sdl] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -65,7 +65,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -49,7 +49,7 @@ set config {
|
||||
if {![have_spec linux]} {
|
||||
append config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
|
@ -112,7 +112,7 @@ append_if $use_nic_client config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -126,7 +126,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -63,7 +63,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -77,7 +77,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -97,7 +97,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="12M"/>
|
||||
<resource name="RAM" quantum="12M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -111,7 +111,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -51,7 +51,7 @@ append_if [have_spec sdl] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
|
@ -89,7 +89,7 @@ append_if $use_nic_driver config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -103,7 +103,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -150,7 +150,7 @@ append_if $use_nic_driver config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -164,7 +164,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -137,7 +137,7 @@ append_if $use_usb_driver config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="6M"/>
|
||||
<resource name="RAM" quantum="6M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -151,7 +151,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -134,7 +134,7 @@ append_if [have_spec sdl] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -154,7 +154,7 @@ append_if [have_spec framebuffer] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start> }
|
||||
|
||||
|
@ -94,7 +94,7 @@ append_if [have_spec sdl] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -108,7 +108,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv">
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="5M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
</start>}
|
||||
|
||||
|
@ -196,7 +196,7 @@ append_if $use_genode_iso config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi" priority="-1">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -210,7 +210,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv" priority="-1">
|
||||
<resource name="RAM" quantum="3M"/>
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides><service name="PCI"/></provides>
|
||||
<route> <any-service><parent/></any-service> </route>
|
||||
</start>
|
||||
|
@ -44,7 +44,7 @@ set config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi" priority="-1">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -58,7 +58,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv" priority="-1">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start>}
|
||||
|
||||
|
@ -91,7 +91,7 @@ append_if [expr $use_ram_fs] config {
|
||||
|
||||
append_if [have_spec acpi] config {
|
||||
<start name="acpi" priority="-1">
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
<resource name="RAM" quantum="10M" constrain_phys="yes"/>
|
||||
<binary name="acpi_drv"/>
|
||||
<provides>
|
||||
<service name="PCI"/>
|
||||
@ -105,7 +105,7 @@ append_if [have_spec acpi] config {
|
||||
|
||||
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||
<start name="pci_drv" priority="-1">
|
||||
<resource name="RAM" quantum="2M"/>
|
||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
||||
<provides> <service name="PCI"/> </provides>
|
||||
</start>}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user