parent
27e5d48fd0
commit
b0f900b32b
|
@ -57,7 +57,7 @@ append_if [have_spec sdl] config {
|
||||||
|
|
||||||
append_if [have_spec acpi] config {
|
append_if [have_spec acpi] config {
|
||||||
<start name="acpi">
|
<start name="acpi">
|
||||||
<resource name="RAM" quantum="2M" constrain_phys="yes"/>
|
<resource name="RAM" quantum="8M" constrain_phys="yes"/>
|
||||||
<binary name="acpi_drv"/>
|
<binary name="acpi_drv"/>
|
||||||
<provides>
|
<provides>
|
||||||
<service name="PCI"/>
|
<service name="PCI"/>
|
||||||
|
@ -66,6 +66,13 @@ append_if [have_spec acpi] config {
|
||||||
<route>
|
<route>
|
||||||
<any-service> <parent/> <any-child /> </any-service>
|
<any-service> <parent/> <any-child /> </any-service>
|
||||||
</route>
|
</route>
|
||||||
|
<config>
|
||||||
|
<policy label="acpi_drv"> <pci class="ALL"/> </policy>
|
||||||
|
<policy label="ps2_drv"> <device name="PS2"/> </policy>
|
||||||
|
<policy label="usb_drv"> <pci class="USB"/> </policy>
|
||||||
|
<policy label="fb_drv"> <pci class="VGA"/> </policy>
|
||||||
|
<policy label="audio_out_drv"> <pci class="AUDIO"/> </policy>
|
||||||
|
</config>
|
||||||
</start>
|
</start>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,13 +82,19 @@ append_if [expr [have_spec pci] && ![have_spec acpi]] config {
|
||||||
<provides>
|
<provides>
|
||||||
<service name="PCI"/>
|
<service name="PCI"/>
|
||||||
</provides>
|
</provides>
|
||||||
|
<policy label="acpi_drv"> <pci class="ALL"/> </policy>
|
||||||
|
<policy label="ps2_drv"> <device name="PS2"/> </policy>
|
||||||
|
<policy label="usb_drv"> <pci class="USB"/> </policy>
|
||||||
|
<policy label="fb_drv"> <pci class="VGA"/> </policy>
|
||||||
|
<policy label="audio_out_drv"> <pci class="AUDIO"/> </policy>
|
||||||
</start>
|
</start>
|
||||||
}
|
}
|
||||||
|
|
||||||
append_if [have_spec framebuffer] config {
|
append_if [have_spec framebuffer] config {
|
||||||
<start name="fb_drv">
|
<start name="fb_drv">
|
||||||
<resource name="RAM" quantum="4M"/>
|
<resource name="RAM" quantum="8M"/>
|
||||||
<provides><service name="Framebuffer"/></provides>
|
<provides><service name="Framebuffer"/></provides>
|
||||||
|
<config buffered="yes"/>
|
||||||
</start>}
|
</start>}
|
||||||
|
|
||||||
append_if [have_spec ps2] config {
|
append_if [have_spec ps2] config {
|
||||||
|
@ -96,7 +109,7 @@ append config {
|
||||||
<provides><service name="Timer"/></provides>
|
<provides><service name="Timer"/></provides>
|
||||||
</start>
|
</start>
|
||||||
<start name="audio_out_drv">
|
<start name="audio_out_drv">
|
||||||
<resource name="RAM" quantum="6M"/>
|
<resource name="RAM" quantum="8M"/>
|
||||||
<route>
|
<route>
|
||||||
<any-service> <any-child /> <parent /></any-service>
|
<any-service> <any-child /> <parent /></any-service>
|
||||||
</route>
|
</route>
|
||||||
|
@ -105,7 +118,7 @@ append config {
|
||||||
</provides>
|
</provides>
|
||||||
</start>
|
</start>
|
||||||
<start name="mixer">
|
<start name="mixer">
|
||||||
<resource name="RAM" quantum="1M"/>
|
<resource name="RAM" quantum="4M"/>
|
||||||
<provides><service name="Audio_out"/></provides>
|
<provides><service name="Audio_out"/></provides>
|
||||||
<route>
|
<route>
|
||||||
<service name="Audio_out"> <child name="audio_out_drv"/> </service>
|
<service name="Audio_out"> <child name="audio_out_drv"/> </service>
|
||||||
|
@ -152,10 +165,11 @@ lappend_if [have_spec pci] boot_modules pci_drv
|
||||||
lappend_if [have_spec pci] boot_modules acpi_drv
|
lappend_if [have_spec pci] boot_modules acpi_drv
|
||||||
lappend_if [have_spec framebuffer] boot_modules fb_drv
|
lappend_if [have_spec framebuffer] boot_modules fb_drv
|
||||||
lappend_if [have_spec ps2] boot_modules ps2_drv
|
lappend_if [have_spec ps2] boot_modules ps2_drv
|
||||||
|
lappend_if [have_spec nova] boot_modules pci_device_pd
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
build_boot_image $boot_modules
|
||||||
|
|
||||||
append qemu_args " -m 256 -soundhw all"
|
append qemu_args " -m 256 -soundhw es1370"
|
||||||
|
|
||||||
run_genode_until forever
|
run_genode_until forever
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ append boot_modules {
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
build_boot_image $boot_modules
|
||||||
|
|
||||||
append qemu_args " -m 768 -soundhw all"
|
append qemu_args " -m 768 -soundhw es1370"
|
||||||
|
|
||||||
run_genode_until forever
|
run_genode_until forever
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ set build_components {
|
||||||
}
|
}
|
||||||
|
|
||||||
lappend_if [have_spec acpi] build_components drivers/acpi
|
lappend_if [have_spec acpi] build_components drivers/acpi
|
||||||
|
lappend_if [have_spec pci] build_components drivers/pci/device_pd
|
||||||
|
|
||||||
build $build_components
|
build $build_components
|
||||||
|
|
||||||
|
@ -47,6 +48,7 @@ append_if [have_spec sdl] config {
|
||||||
<service name="Input"/>
|
<service name="Input"/>
|
||||||
<service name="Framebuffer"/>
|
<service name="Framebuffer"/>
|
||||||
</provides>
|
</provides>
|
||||||
|
<config width="640" height="480"/>
|
||||||
</start>}
|
</start>}
|
||||||
|
|
||||||
append_if [have_spec acpi] config {
|
append_if [have_spec acpi] config {
|
||||||
|
@ -57,6 +59,28 @@ append_if [have_spec acpi] config {
|
||||||
<service name="PCI"/>
|
<service name="PCI"/>
|
||||||
<service name="IRQ" />
|
<service name="IRQ" />
|
||||||
</provides>
|
</provides>
|
||||||
|
<route>
|
||||||
|
<any-service> <parent/> <any-child /> </any-service>
|
||||||
|
</route>
|
||||||
|
<config>
|
||||||
|
<policy label="acpi_drv"> <pci class="ALL"/> </policy>
|
||||||
|
<policy label="ps2_drv"> <device name="PS2"/> </policy>
|
||||||
|
<policy label="usb_drv"> <pci class="USB"/> </policy>
|
||||||
|
<policy label="fb_drv"> <pci class="VGA"/> </policy>
|
||||||
|
<policy label="audio_out_drv"> <pci class="AUDIO"/> </policy>
|
||||||
|
</config>
|
||||||
|
</start>}
|
||||||
|
|
||||||
|
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
|
||||||
|
<start name="pci_drv">
|
||||||
|
<resource name="RAM" quantum="4M" constrain_phys="yes"/>
|
||||||
|
<provides> <service name="PCI"/> </provides>
|
||||||
|
<config>
|
||||||
|
<policy label="audio_out_drv"> <pci class="AUDIO"/> </policy>
|
||||||
|
<policy label="ps2_drv"> <device name="PS2"/> </policy>
|
||||||
|
<policy label="usb_drv"> <pci class="USB"/> </policy>
|
||||||
|
<policy label="fb_drv"> <pci class="VGA"/> </policy>
|
||||||
|
</config>
|
||||||
</start>}
|
</start>}
|
||||||
|
|
||||||
append_if [have_spec vesa] config {
|
append_if [have_spec vesa] config {
|
||||||
|
@ -64,8 +88,12 @@ append_if [have_spec vesa] config {
|
||||||
<resource name="RAM" quantum="4M"/>
|
<resource name="RAM" quantum="4M"/>
|
||||||
<provides><service name="Framebuffer"/></provides>
|
<provides><service name="Framebuffer"/></provides>
|
||||||
<config buffered="yes"> </config>
|
<config buffered="yes"> </config>
|
||||||
<route>
|
<route>}
|
||||||
<service name="PCI"><child name="acpi" /></service>
|
|
||||||
|
append_if [have_spec acpi] config {
|
||||||
|
<service name="PCI"><child name="acpi" /></service>}
|
||||||
|
|
||||||
|
append_if [have_spec vesa] config {
|
||||||
<any-service> <parent /> <any-child /></any-service>
|
<any-service> <parent /> <any-child /></any-service>
|
||||||
</route>
|
</route>
|
||||||
</start>}
|
</start>}
|
||||||
|
@ -148,6 +176,6 @@ lappend_if [have_spec pl11x] boot_modules fb_drv
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
build_boot_image $boot_modules
|
||||||
|
|
||||||
append qemu_args " -m 256 -soundhw ac97 "
|
append qemu_args " -m 256 -soundhw es1370 "
|
||||||
|
|
||||||
run_genode_until forever
|
run_genode_until forever
|
||||||
|
|
Loading…
Reference in New Issue
Block a user